Critical severityOSV Advisory· Published Nov 6, 2024· Updated Apr 15, 2026
CVE-2024-51757
CVE-2024-51757
Description
happy-dom is a JavaScript implementation of a web browser without its graphical user interface. Versions of happy-dom prior to 15.10.2 may execute code on the host via a script tag. This would execute code in the user context of happy-dom. Users are advised to upgrade to version 15.10.2. There are no known workarounds for this vulnerability.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
happy-domnpm | < 15.10.2 | 15.10.2 |
Affected products
2- Range: v0.0.1, v0.1.0, v0.10.0, …
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-96g7-g7g9-jxw8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-51757ghsaADVISORY
- github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efacnvdWEB
- github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fdnvdWEB
- github.com/capricorn86/happy-dom/issues/1585nvdWEB
- github.com/capricorn86/happy-dom/pull/1586nvdWEB
- github.com/capricorn86/happy-dom/releases/tag/v15.10.2nvdWEB
- github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8nvdWEB
News mentions
0No linked articles in our index yet.