CISA list

● npm package

happy-dom

Happy-dom has eight security advisories. The newest release any of them names as the fix is 21.0.4.

As of , happy-dom has eight security advisories. The newest release any of them names as the fix is 21.0.4.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 21.0.421.0.48 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-118660GHSA-c8p4-j97h-3vg8Happy DOM: SSRF via iframe and link stylesheet when parsing untrusted HTMLHigh severityBefore 21.0.021.0.0
CVE-2026-118661GHSA-5fpq-26gf-qwcrHappy DOM has cookie scope forgery: no DNS-label boundary on Domain= matching , attacker origin sets victim cookiesModerate severityBefore 20.14.620.14.6
CVE-2026-115895GHSA-834v-8h66-3h79Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code executionHigh severityFrom 17.0.0 before 21.0.421.0.4
CVE-2026-34226GHSA-w4gp-fjgq-3q4gHappy DOM's fetch credentials include uses page-origin cookies instead of target-origin cookiesHigh severityBefore 20.8.920.8.9
CVE-2026-33943GHSA-6q6h-j7hj-3r64Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable codeHigh severityFrom 15.10.0 before 20.8.820.8.8
CVE-2025-62410GHSA-qpm2-6cq5-7pq5happy-dom's `--disallow-code-generation-from-strings` is not sufficient for isolating untrusted JavaScriptCritical severityFrom 19.0.0 before 20.0.220.0.2
CVE-2025-61927GHSA-37j7-fg3j-429fHappy DOM: VM Context Escape can lead to Remote Code ExecutionCritical severityBefore 20.0.020.0.0
CVE-2024-51757GHSA-96g7-g7g9-jxw8happy-dom allows for server side code to be executed by a <script> tagCritical severityBefore 15.10.215.10.2

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0