← CVE Intelligence

CVE-2026-34226

Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
capricorn86 / happy-domaffected < 20.8.9

CWE

CWE-201, CWE-359

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

A flaw was found in Happy DOM, a JavaScript implementation of a web browser without its graphical user interface. This vulnerability allows for information disclosure where cookies from the current page's origin can be inadvertently attached to network requests made to a different destination. This occurs when the `fetch` function is used with the `credentials: "include"` option, potentially leading to the leakage of sensitive user data to unintended recipients.