Capricorn86 happy-dom
Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-201
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
capricorn86 happy-dom
- < 20.8.9
Fixed in 20.8.9
Mitigation
Upgrade happy-dom to 20.8.9 or later.
References
- Vendor advisory github.com/capricorn86/happy-dom/security/advi…
- Patch github.com/capricorn86/happy-dom/pull/2117
- Patch github.com/capricorn86/happy-dom/commit/68324c…
1 more
- Release notes github.com/capricorn86/happy-dom/releases/tag/…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.