CVE Explorer
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 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
per
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://hackage.haskell.org/package/hackage-server","defaultStatus":"unaffected","packageName":"hackage-server","versions":[{"lessThan":"0.6","status":"affected","version":"0.1","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:f8c4628d65565d9d73741561a3977489c708afb3dd5a81dc9567f7b70e7edd88 · sha256:3bb7b63b639e7014… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":9.9,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f8c4628d65565d9d73741561a3977489c708afb3dd5a81dc9567f7b70e7edd88 · sha256:3bb7b63b639e7014… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f8c4628d65565d9d73741561a3977489c708afb3dd5a81dc9567f7b70e7edd88 · sha256:3bb7b63b639e7014… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://osv.dev/vulnerability/HSEC-2024-0004"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f8c4628d65565d9d73741561a3977489c708afb3dd5a81dc9567f7b70e7edd88 · sha256:3bb7b63b639e7014… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.