HarborGuard / CVE
Back to search
HIGHCVE-2026-34226Published Modified CNA GitHub_M

CVE-2026-34226: 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.

Metrics

CVSS v3.1
7.5
Severity
HIGH
Fixed in
Affected Products
1
Affected packages
  • capricorn86 / happy-dom
    < 20.8.9
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVE-2026-34226: Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies | HarborGuard CVE