CVE-2026-34226

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

State
Published
Severity
7.5 High
Published
Mar 27, 2026
Updated
Jul 15, 2026
Reserved
Mar 26, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NGitHub_M
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:Nredhat-SADP

Weaknesses

  • CWE-201 Insertion of Sensitive Information Into Sent Data
  • CWE-359 Exposure of Private Personal Information to an Unauthorized Actor

Affected Products

ProductVersions
happy-domcapricorn86
  • < 20.8.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.