Home / CVE-2026-40470
CVE-2026-40470: is it exploited, and which versions are affected and fixed?
CVE-2026-40470 is a cross-site scripting (XSS) vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: hackage-server from 0.1 before 0.6 (CVE record by redhat-cnalr). Fixed in 0.6 (CVE record by redhat-cnalr). Severity: Critical (9.9, CVSS 3.1, from redhat-cnalr).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-40470?
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.
From the CVE record by redhat-cnalr, last updated April 23, 2026, 16:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hackage-server | from 0.1 before 0.6 | 0.6 |
As the CVE record by redhat-cnalr states it, last updated April 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-40470?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L | redhat-cnalr |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-40470 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, April 23, 2026)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 27.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
When was it published, and where is the official record?
- Reserved
- April 13, 2026
- Published
- April 23, 2026, 14:53 UTC
- CVE record updated
- April 23, 2026, 16:22 UTC by redhat-cnalr
- NVD
- Awaiting Analysis, last modified June 17, 2026, 10:45 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on April 23, 2026?
- Apr 23, 2026CVE-2026-40623 SenseLive X3050: missing authorization
- Apr 23, 2026CVE-2026-29050 chainguard-dev melange: path traversal (reading or writing files outside the intended folder)
- Apr 23, 2026CVE-2026-40431 SenseLive X3050: sensitive data sent in clear text
- Apr 23, 2026CVE-2026-27843 SenseLive X3050: missing authentication for a critical function
- Apr 23, 2026CVE-2026-39462 SenseLive X3050: credentials insufficiently protected
- Apr 23, 2026CVE-2026-35503 SenseLive X3050: hard-coded credentials
- Apr 23, 2026CVE-2026-25720 SenseLive X3050: session does not expire
- Apr 23, 2026CVE-2026-40630 SenseLive X3050: authentication bypass through another path
Every CVE published on April 23, 2026
Questions about CVE-2026-40470
Is CVE-2026-40470 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions are affected by CVE-2026-40470?
hackage-server from 0.1 before 0.6, per the CVE record by redhat-cnalr. The tables above give every range the sources list.
Which version fixes CVE-2026-40470?
0.6, per the CVE record by redhat-cnalr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-40470?
Critical (9.9, CVSS 3.1, from redhat-cnalr). The severity table above shows each score with its source.
Where is the official record of CVE-2026-40470?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.