{"schemaVersion":4,"id":"CVE-2026-34226","aliases":["GHSA-w4gp-fjgq-3q4g"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-03-27T21:17:24.777Z","modified":"2026-07-15T01:04:37.919Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00521,"percentile":0.45765,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.055000000000000014,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00466},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00458,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00589,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00612,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00521,"percentile":0.45765}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00466,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00476,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00684,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00521,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00521,"percentile":0.45765}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_CAPRICORN86_HAPPY-DOM","name":"Happy Dom","source":"github","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-6q6h-j7hj-3r64","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data","description":"The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/201.html"},{"id":"CWE-359","name":"Exposure of Private Personal Information to an Unauthorized Actor","description":"The product does not properly prevent a person's private, personal information from being accessed by actors who either (1) are not explicitly authorized to access the information or (2) do not have the implicit consent of the person about whom the information is collected.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/359.html"}],"affected":[{"vendor":"capricorn86","product":"happy_dom","name":"happy dom","label":"happy_dom","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 20.8.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"20.8.9","endInclusive":false}}],"versionsText":"< 20.8.9","eol":null,"hubHref":"/vendor/capricorn86/happy_dom"},{"vendor":"capricorn86","product":"happy-dom","name":"happy-dom","label":"happy-dom","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 20.8.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"20.8.9","endInclusive":false}}],"versionsText":"< 20.8.9","eol":null,"hubHref":"/vendor/capricorn86/happy-dom"},{"vendor":"Npm","product":"happy-dom","name":"happy-dom","label":"happy-dom","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/happy-dom","purlType":"npm","versions":[{"text":"< 20.8.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"20.8.9","endInclusive":false}}],"versionsText":"< 20.8.9","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g","label":"github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/capricorn86/happy-dom/pull/2117","label":"github.com/capricorn86/happy-dom/pull/2117","hostname":"github.com","tags":["X Refsource MISC","WEB","Issue Tracking","Patch"]},{"url":"https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751","label":"github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts","label":"github.com/capricorn86/…","hostname":"github.com","tags":["X Refsource MISC","WEB","Patch"]},{"url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9","label":"github.com/capricorn86/happy-dom/releases/tag/v20.8.9","hostname":"github.com","tags":["X Refsource MISC","WEB","Product","Release Notes"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-34226","label":"access.redhat.com/security/cve/CVE-2026-34226","hostname":"access.redhat.com","tags":["VDB Entry","X Refsource REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452519","label":"bugzilla.redhat.com/show_bug.cgi?id=2452519","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","X Refsource REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34226.json","label":"security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-34226.json","hostname":"security.access.redhat.com","tags":["X Sadp Csaf Vex"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34226","label":"nvd.nist.gov/vuln/detail/CVE-2026-34226","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/capricorn86/happy-dom","label":"github.com/capricorn86/happy-dom","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-03-27T21:17:24.777Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-15T01:04:37.919Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"prioritise","tag":"public-exploit","reason":"Public exploit (GitHub, Date unknown)","nextStep":"Check applicability and the vendor advisory: no fix release is recorded here","rank":[0,0,0,1,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00521,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-07-15T01:04:37.919Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2026-07-15T01:04:37.919Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-07-15T01:04:37.919Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-03-31T14:25:16.015Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"poc"},{"type":"exploit","source":"github","date":null,"status":"valid","statusDate":null,"statusSource":null,"disputes":[],"maturity":"poc","verified":false}],"epss":{"value":0.00521,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T06:02:28.822Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T06:02:29.295Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T06:02:29.506Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T06:00:56.363Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T06:02:27.202Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T06:02:26.240Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T06:48:58.762Z","stale":false,"partial":false}}