9.9Critical

CVE-2026-40472Hackage package metadata stored XSS vulnerability

hackage-server Published: (6 months ago)

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.

Weakness (CWE): CWE-79

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
— hackage-server 0.1

References and patches