Skip to main content
← All vulnerabilities
CVE-2026-34226GHSA-W4GP-FJGQ-3Q4G

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 20.8.9
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • capricorn86 happy-dom

    fixed in 20.8.9

  • happy-domnpm

    fixed in 20.8.9

References 5

GitHub · capricorn86/happy-dom