← Back to CVEs
CVE-2026-34226
HIGH7.5
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.
CVE Details
CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/27/2026
Last Modified4/1/2026
Sourcenvd
Honeypot Sightings0
Affected Products
capricorn86:happy_dom
Weaknesses (CWE)
CWE-201CWE-359
References
https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts(security-advisories@github.com)
https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751(security-advisories@github.com)
https://github.com/capricorn86/happy-dom/pull/2117(security-advisories@github.com)
https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9(security-advisories@github.com)
https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.