Home

Description

In hackage-server, user-controlled metadata from .cabal files are rendered into HTML href attributes without proper sanitization, enabling stored Cross-Site Scripting (XSS) attacks.

PUBLISHED Reserved 2026-04-13 | Published 2026-04-23 | Updated 2026-04-23 | Assigner redhat-cnalr




CRITICAL: 9.9CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Problem types

CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')

Product status

Default status
unaffected

0.1 (semver) before *
affected

References

osv.dev/vulnerability/HSEC-2026-0004

cve.org (CVE-2026-40472)

nvd.nist.gov (CVE-2026-40472)

Download JSON