Package · npm
happy-dom
Every known advisory for the npm package happy-dom, with the affected versions and how widely it is downloaded.
Advisories8
Malicious0
In CISA KEV0
Exposure37,986,089 downloads last week
Newest fixed version among these advisories: 21.0.4. Check your version against each range below.
| Advisory | Affected versions | Published |
|---|---|---|
| CVE-2026-118661 GHSA-5fpq-26gf-qwcr Happy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookies | every version to 20.14.6 | 2026-10-28 |
| CVE-2026-118660 GHSA-c8p4-j97h-3vg8 Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTML | every version to 21.0.0 | 2026-10-28 |
| CVE-2026-115895 GHSA-834v-8h66-3h79 Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution | 17.0.0 to 21.0.4 | 2026-10-23 |
| CVE-2026-34226 GHSA-w4gp-fjgq-3q4g Happy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookies | every version to 20.8.9 | 2026-03-29 |
| CVE-2026-33943 GHSA-6q6h-j7hj-3r64 Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable code | 15.10.0 to 20.8.8 | 2026-03-26 |
| CVE-2025-62410 GHSA-qpm2-6cq5-7pq5 happy-dom's `--disallow-code-generation-from-strings` is not sufficient for isolating untrusted JavaScript | 19.0.0 to 20.0.2 | 2025-10-15 |
| CVE-2025-61927 GHSA-37j7-fg3j-429f Happy DOM: VM Context Escape can lead to Remote Code Execution | every version to 20.0.0 | 2025-10-10 |
| CVE-2024-51757 GHSA-96g7-g7g9-jxw8 happy-dom allows for server side code to be executed by a <script> tag | every version to 15.10.2 | 2024-11-06 |
Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.