CVEvulnerability
CVE-2026-34226
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-03-27
- Last modified
- 2026-10-26
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-201, CWE-359
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.
Affected configurations
• capricorn86 happy dom (< 20.8.9)
Related
References
- https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts Patch
- https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751 Patch
- https://github.com/capricorn86/happy-dom/pull/2117 Issue Tracking, Patch
- https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9 Product, Release Notes
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g Exploit, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2026-34226 access.redhat.com
- https://bugzilla.redhat.com/show_bug.cgi?id=2452519 bugzilla.redhat.com
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34226.json security.access.redhat.com