Security mailing lists by PureSourceCode

CVE-2026-40472

CRITICAL 9.9CVSS 3.1

Hackage package metadata stored XSS vulnerability

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
23 Apr 2026
Last modified
17 Jun 2026
Assigned by
74b3a70d-cca6-4d34-9789-e83b222ae3be
NVD status
Awaiting Analysis
Weakness
CWE-79
Also known as
HSEC-2026-0004
Sources
NVDJSONOSV HSEC-2026-0004JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 74b3a70d-cca6-4d34-9789-e83b222ae3be (Secondary) CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
OSV HSEC CVSS 3.1 CRITICAL 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Hackage hackage-server >= 0.1

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 23 Apr 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 28 Mar 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.