CVE-2026-34226Capricorn86 Happy Dom
High 7.5 No auth needed
Follow: this CVE · Capricorn86 · Capricorn86 Happy Dom We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Mar 27, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
- Apply the vendor's security update for Happy Dom.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | happy-dom |
< 20.8.9 |
20.8.9 |
npm install happy-dom@20.8.9 |
Per OSV / GitHub Advisories (GHSA-w4gp-fjgq-3q4g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| capricorn86 | happy_dom | < 20.8.9 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Product Release Notes
- github.com Exploit Vendor Advisory
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com