{"id":"CVE-2026-34226","revision":"c36313b043d94e9a9741c967f881af5a","records":[{"revision":"c36313b043d94e9a9741c967f881af5a","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-34226","aliases":[],"title":"Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies","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.","state":0,"publishedAt":"2026-03-27T21:17:24.777+00:00","modifiedAt":"2026-07-15T01:04:37.919+00:00","affected":[{"ecosystem":"Vendor product","name":"happy-dom","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"capricorn86\",\n                    \"product\": \"happy-dom\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 20.8.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"HIGH"}],"references":["https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g","https://github.com/capricorn86/happy-dom/pull/2117","https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751","https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts","https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-34226","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-34226","identifiers":["CVE-2026-34226"]},"retained":false,"historicalAffected":[]}],"coverage":[]}