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.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34226.json",
"cwe_ids": [
"CWE-201",
"CWE-359"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "20.8.9"
}
],
"cpe": "cpe:2.3:a:capricorn86:happy_dom:*:*:*:*:*:nodejs:*:*",
"source": [
"AFFECTED_FIELD",
"CPE_RANGE",
"REFERENCES"
]
}