CVE Catalog

CVE-2026-34226

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.46%

38th percentile - higher than 38% of all known CVEs

Summary

In Happy DOM library before version 20.8.9, there is a vulnerability where cookies are incorrectly attached when using fetch() with credentials: 'include'. Instead of cookies from the target URL, cookies from the current page origin (window.location) are attached, potentially leaking cookies from origin A to origin B.

Risk Assessment

The risk involves potential leakage of sensitive session or authentication cookies between different origins, which could allow an attacker to hijack user sessions or access protected resources.

Recommendation

Immediately update the Happy DOM library to version 20.8.9 or later, which contains the fix for this vulnerability.

Other vulnerabilities in Happy DOM

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS