CVE-2026-40470
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 th...
Affects 0 products across 2 vendors.
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Show all 6
Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.
A critical XSS vulnerability in hackage-server and hackage.haskell.org allows malicious package maintainers to execute arbitrary JavaScript in the context of a user's session, potentially stealing credentials.
BSID: BS-2026-GLOBAL-256516-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2026-40470?
What is the CVSS score for CVE-2026-40470?
Is CVE-2026-40470 actively exploited?
How do I remediate CVE-2026-40470?
What systems are affected by CVE-2026-40470?
| CVE ID | CVE-2026-40470 |
|---|---|
| BSID | BS-2026-GLOBAL-256516-C BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L |
| Published | 2026-04-23 |
| Last Modified | 2026-06-17 |
| ICS Relevance | 0% |
| Weakness (CWE) | |
| Source | NVD |
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.
Source: NIST NVD / MITRE CVE Database
HTML and JavaScript files provided in source packages or via the documentation upload facility are served as-is on the main hackage.haskell.org domain. When a user with latent HTTP credentials browses to the package pages or documentation uploaded by a malicious package maintainer, their session can be compromised.
Exploitation Likelihood: CRITICAL
| Vendor | Product | Affected Versions |
|---|---|---|
| Haskell | — | — |
| Javascript | — | — |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | HIGH |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | 702be12aaee56737c1c722fb3a9277ce40f105e784e132ad1064f3074cd92cc06a680e3f2f812ba15a2009502509561f7ad28537cf60aafb12850c374c0e3aa5 |
Critical Severity - Know Your Exposure
A CVSS 9.9 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.
Create a free account →