Cross-Site Scripting Vulnerability in Hackage Server
CVE-2026-40472
9.9CRITICAL
What is CVE-2026-40472?
In Hackage Server, user-controlled metadata from .cabal files is improperly rendered into HTML href attributes without adequate sanitization. This oversight allows malicious users to inject executable scripts, which can be executed within the context of the user's browser, leading to potential data theft, session hijacking, or other malicious activities. It is crucial for users of Hackage Server to apply necessary patches and updates to mitigate this vulnerability.
