CVE Explorer
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.
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":"*","status":"affected","version":"0.1","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dbf6b88e0ba222cb050cfecfc021defafb2f2aa6f6f53f3d3903ee8051764644 · sha256:01c01d1df9263b55… · /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:dbf6b88e0ba222cb050cfecfc021defafb2f2aa6f6f53f3d3903ee8051764644 · sha256:01c01d1df9263b55… · /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:dbf6b88e0ba222cb050cfecfc021defafb2f2aa6f6f53f3d3903ee8051764644 · sha256:01c01d1df9263b55… · /containers/cna/problemTypes/0/descriptions/0
Source references
1 source assertion{"url":"https://osv.dev/vulnerability/HSEC-2026-0004"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dbf6b88e0ba222cb050cfecfc021defafb2f2aa6f6f53f3d3903ee8051764644 · sha256:01c01d1df9263b55… · /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.