CVE-2026-118661: Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookies
A cookie-scoping bug in happy-dom lets an attacker origin set cookies that a victim origin then receives, diverging from browser semantics.
References
- github.com/advisories/GHSA-5fpq-26gf-qwcr
- github.com/capricorn86/happy-dom/commit/f21dbd7d0a0c63cdd41954ba5d0f05def4e0f2b3
- github.com/capricorn86/happy-dom/pull/2477
- github.com/capricorn86/happy-dom/releases/tag/v20.14.6
- github.com/capricorn86/happy-dom/security/advisories/GHSA-5fpq-26gf-qwcr
- nvd.nist.gov/vuln/detail/CVE-2026-118661
Code Behaviors & Features
Detect and mitigate CVE-2026-118661 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →