Vulnerability details

CVE-2026-40472

Hackage package metadata stored XSS vulnerability

CVSS 3.1
9.9Critical

Official 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.

CVSS scores

ScoreVersionSourceVector
9.9Critical 3.1 CVEProject cvelistV5 (CNA) (redhat-cnalr) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Affected products

VendorProductVersionsSource
No product information recorded.

References and advisories

1
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2026-04-23
Last updated
2026-04-23
State
Published
Assigner (CNA)
redhat-cnalr

Exploit prediction (EPSS)

0.3%
Probability of exploitation in 30 days
23.1%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

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