{"cve":"CVE-2026-34226","nvd":{"published":"2026-03-27T22:16:23.113","modified":"2026-10-26T21:10:00.170","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-201","CWE-359"],"references":["https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts","https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751","https://github.com/capricorn86/happy-dom/pull/2117","https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9","https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g"],"products":["capricorn86:happy_dom"],"source":"nvd","synced_at":"2026-10-26T21:38:48.864438205+00:00"},"epss":{"cve":"CVE-2026-34226","score":0.00466,"percentile":0.40089,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-w4gp-fjgq-3q4g","url":"https://osv.dev/vulnerability/GHSA-w4gp-fjgq-3q4g","summary":"Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies","modified":"2026-03-29T15:41:19.915766Z","packages":[{"ecosystem":"npm","name":"happy-dom","purl":"pkg:npm/happy-dom","ranges":["<20.8.9"],"fixed":["20.8.9"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}