Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies
Summary
| CVE | CVE-2026-34226 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-27 22:16:23 UTC |
| Updated | 2026-07-15 02:20:30 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.004580000 probability, percentile 0.368770000 (date 2026-07-16)
Problem Types: CWE-201 | CWE-359 | CWE-201 CWE-201: Insertion of Sensitive Information Into Sent Data | CWE-359 CWE-359: Exposure of Private Personal Information to an Unauthorized Actor | CWE-201 Insertion of Sensitive Information Into Sent Data
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | CVSS | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Capricorn86 | Happy Dom | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Capricorn86 | Happy-dom | affected < 20.8.9 | Not specified |
| ADP | Red Hat | Red Hat Ansible Automation Platform 2 | Not specified | Not specified |
| ADP | Red Hat | Red Hat OpenShift Container Platform 4 | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/capricorn86/happy-dom/pull/2117 | [email protected] | github.com | Issue Tracking, Patch |
| github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g | [email protected] | github.com | Exploit, Vendor Advisory |
| github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda... | [email protected] | github.com | Patch |
| github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca6964... | [email protected] | github.com | Patch |
| security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34226.json | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | security.access.redhat.com | |
| github.com/capricorn86/happy-dom/releases/tag/v20.8.9 | [email protected] | github.com | Product, Release Notes |
| access.redhat.com/security/cve/CVE-2026-34226 | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| ADP | 2026-03-27T22:02:34.704Z | Reported to Red Hat. |
| ADP | 2026-03-27T21:17:24.777Z | Made public. |
There are currently no legacy QID mappings associated with this CVE.