CVE-2026-34226

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:capricorn86:happy_dom:*:*:*:*:*:nodejs:*:*

History

01 Apr 2026, 13:26

Type Values Removed Values Added
CPE cpe:2.3:a:capricorn86:happy_dom:*:*:*:*:*:nodejs:*:*
First Time Capricorn86
Capricorn86 happy Dom
References () https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts - () https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts - Patch
References () https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751 - () https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751 - Patch
References () https://github.com/capricorn86/happy-dom/pull/2117 - () https://github.com/capricorn86/happy-dom/pull/2117 - Issue Tracking, Patch
References () https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9 - () https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9 - Product, Release Notes
References () https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g - () https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g - Exploit, Vendor Advisory

27 Mar 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-27 22:16

Updated : 2026-04-01 13:26


NVD link : CVE-2026-34226

Mitre link : CVE-2026-34226

CVE.ORG link : CVE-2026-34226


JSON object : View

Products Affected

capricorn86

  • happy_dom
CWE
CWE-201

Insertion of Sensitive Information Into Sent Data

CWE-359

Exposure of Private Personal Information to an Unauthorized Actor