PoC Monitor
← All CVEs
CVE-2026-40470published 23 Apr 2026 14:53 UTCData: JSON · API

Hackage package and doc upload stored XSS vulnerability

A critical XSS vulnerability affected hackage-server and hackage.haskell.org. HTML and JavaScript files provided in source packages or via the documentation upload facility were served as-is on the main hackage.haskell.org domain. As a consequence, when a user with latent HTTP credentials browses to the package pages or documentation uploaded by a malicious package maintainer, their session can be hijacked to upload packages or documentation, amend maintainers or other package metadata, or perform any other action the user is authorised to do.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.9critical · scored by CNA · CWE-79
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • >= 0.1, < 0.6

Fixed in 0.6

Mitigation

Upgrade the affected product to 0.6 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published23 Apr 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.