CVE-2026-34226
Last modified
CVE-2026-34226 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Versions prior to 20.8.9 may attach cookies from the current page origin (`window.location`) instead of the request target URL when `fetch(..., { credentials: "include" })` is used. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
Description
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Versions prior to 20.8.9 may attach cookies from the current page origin (`window.location`) instead of the request target URL when `fetch(..., { credentials: "include" })` is used. This can leak cookies from origin A to destination B. Version 20.8.9 fixes the issue.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Capricorn86 | Happy Dom | < 20.8.9 |
References
- https://github.com/capricorn86/happy-dom/pull/2117Issue Tracking, Patch
- https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9Product, Release Notes
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4gExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-34226?
How severe is CVE-2026-34226?
How do I fix CVE-2026-34226?
Are you affected by CVE-2026-34226?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
