{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-34226","id":"CVE-2026-34226","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.","descriptionLong":"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.","published":"2026-03-27T21:17:24.777Z","updated":"2026-10-28T02:31:04.549113602Z","reserved":"2026-03-26T16:22:29.033Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["capricorn86 happy-dom"],"affectedProducts":[{"vendor":"capricorn86","product":"happy-dom","defaultStatus":null,"versions":[{"version":"< 20.8.9","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"happy-dom","purl":"pkg:npm/happy-dom","ranges":["<20.8.9"],"fixed":["20.8.9"],"advisory":"GHSA-w4gp-fjgq-3q4g"}],"cwes":["CWE-201","CWE-359"],"aliases":["GHSA-w4gp-fjgq-3q4g"],"references":[{"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g","tags":["x_refsource_CONFIRM","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/capricorn86/happy-dom/pull/2117","tags":["x_refsource_MISC","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts","tags":["x_refsource_MISC","Patch","web"]},{"url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9","tags":["x_refsource_MISC","Product","Release Notes","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34226","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452519","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34226.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34226.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34226","tags":["advisory"]},{"url":"https://github.com/capricorn86/happy-dom","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00476,"epssPercentile":0.41928,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-34226","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34226","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-34226","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w4gp-fjgq-3q4g","ok":true,"note":"GHSA-w4gp-fjgq-3q4g"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34226","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}