CVE-2026-40472
CRITICALCVSS 9.9/10EPSS 0.30%
Last modified
CVE-2026-40472 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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.. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| — | — | >= 0.1, < * |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-40472?
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.
How severe is CVE-2026-40472?
CVE-2026-40472 has a CVSS score of 9.9/10 (CRITICAL severity). The EPSS model estimates a 0.30% probability of exploitation in the next 30 days.
How do I fix CVE-2026-40472?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-40466Improper Input Validation, Improper Control of Generation of…8.8
- CVE-2026-40467Use After Free vulnerability has been found in "io.c" progra…7.5
- CVE-2026-40468Integer overflow vulnerability has been found in "builtin.c"…9.1
- CVE-2026-40469Integer overflow vulnerability has been found in "builtin.c"…9.1
- CVE-2026-40470A critical XSS vulnerability affected hackage-server and hac…9.9
- CVE-2026-40471hackage-server lacked Cross-Site Request Forgery (CSRF) prot…9.6
- CVE-2026-40473The camel-mina component's MinaConverter.toObjectInput(IoBuf…8.8
- CVE-2026-40474wger is a free, open-source workout and fitness manager. In …7.6
- CVE-2026-40476graphql-go is a Go implementation of GraphQL. In versions 15…7.5
- CVE-2026-40477Thymeleaf is a server-side Java template engine for web and …9
- CVE-2026-40478Thymeleaf is a server-side Java template engine for web and …9
- CVE-2026-40479Kimai is an open-source time tracking application. In versio…5.4
Are you affected by CVE-2026-40472?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
