CVE-2026-34226 json
Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies
published 2026-03-27 7 mo ago modified 2026-10-26 13 d ago also GHSA-w4gp-fjgq-3q4g , EUVD-2026-16893
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm happy-dom 20.8.9
- capricorn86 happy_dom 20.8.9
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-34226 updated cvss 7.5
happy-dom: Happy DOM: Information disclosure via incorrect cookie handling in fetch requests
-
Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/gateway-rhel9affected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 openshift4/ose-agent-installer-ui-rhel9not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 7 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | happy-dom | <20.8.9 |
20.8.9 |
Affected products
- capricorn86 happy-dom
- Red Hat Red Hat Ansible Automation Platform 2
- Red Hat Red Hat OpenShift Container Platform 4
Classification
References
-
github.com
/capricorn86/happy-dom/pull/2117
web, issue-tracking, patch
-
github.com
/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751
web, patch
-
github.com
/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/Fe
web, patch
-
github.com
/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g
web, exploit, vendor-advisory
-
github.com
/capricorn86/happy-dom/releases/tag/v20.8.9
web, product, release-notes
-
access.redhat.com
/security/cve/CVE-2026-34226
vdb-entry
-
bugzilla.redhat.com
/show_bug.cgi?id=2452519
issue-tracking
- security.access.redhat.com /data/csaf/v2/vex/2026/cve-2026-34226.json
-
nvd.nist.gov
/vuln/detail/CVE-2026-34226
advisory
-
github.com
/capricorn86/happy-dom
package
Sources
- CVE List CVE-2026-34226
- GitHub Advisory GHSA-w4gp-fjgq-3q4g
- NVD CVE-2026-34226
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.