CVE-2026-34226
Happy DOM is a JavaScript implementation of a web browser without …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/ha
- github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751
- github.com/capricorn86/happy-dom/pull/2117
- github.com/capricorn86/happy-dom/releases/tag/v20.8.9
- github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g
- nvd.nist.gov/vuln/detail/CVE-2026-34226
- github.com/advisories/GHSA-w4gp-fjgq-3q4g
- access.redhat.com/security/cve/CVE-2026-34226
- nvd.nist.gov/vuln/detail/CVE-2026-34226
- cve.org/CVERecord?id=CVE-2026-34226
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.