CVE-2026-40470
Last modified
CVE-2026-40470 is a critical-severity vulnerability rated 9.9/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
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.
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, < 0.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-40470?
How severe is CVE-2026-40470?
How do I fix CVE-2026-40470?
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-40461Anviz CX2 Lite and CX7 are vulnerable to unauthenticated POS…7.5
- CVE-2026-40462Incorrect permission assignment vulnerabilities exist in iCo…7.1
- 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-40471hackage-server lacked Cross-Site Request Forgery (CSRF) prot…9.6
- CVE-2026-40472In hackage-server, user-controlled metadata from .cabal file…9.9
- 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
Are you affected by CVE-2026-40470?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
