Loading...
Skip to main content
npm (Node.js)

happy-dom Known Vulnerabilities & Fixes

happy-dom has 4 known security vulnerabilities in npm (Node.js). Upgrade to version 20.8.8 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

4 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 20.8.8

Upgrading to 20.8.8 or later resolves all 4 known vulnerabilities in happy-dom. Run: npm install happy-dom@20.8.8

Is happy-dom in your project?

Check if you're affected and upgrade to 20.8.8 to stay secure.

4
Total
3
Critical
1
High
0
Medium
0
Low

Security Summary

  • 4 affected version ranges have been identified across these 4 advisories.
  • 100% of known issues have a published fixed version.
  • Remediation: npm update happy-dom

Vulnerabilities

4 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Nov 6, 2024, most recently Mar 26, 2026 (505 days apart).

CVE / GHSASeverityAffectedFixed In
CVE-2025-62410
happy-dom's `--disallow-code-generation-from-strings` is not sufficient for isolating untrusted JavaScript
CRITICAL
All versions20.0.2
CVE-2025-61927
Happy DOM: VM Context Escape can lead to Remote Code Execution
CRITICAL
All versions20.0.0
CVE-2024-51757
happy-dom allows for server side code to be executed by a <script> tag
CRITICAL
All versions15.10.2
CVE-2026-33943
Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable code
HIGH
All versions20.8.8

About This Data

Vulnerability data for happy-dom is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related npm (Node.js) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of happy-dom.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed