CVE-2026-40472

Published Apr 23, 2026

Last updated 6 hours ago

Overview

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.
Source
74b3a70d-cca6-4d34-9789-e83b222ae3be
NVD status
Received

Risk scores

CVSS 3.1

Type
Secondary
Base score
9.9
Impact score
6
Exploitability score
3.1
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Severity
CRITICAL

Weaknesses

74b3a70d-cca6-4d34-9789-e83b222ae3be
CWE-79

Social media

Hype score
Not currently trending

References

Sources include official advisories and independent security research.