capricorn86/happy-dom · Security
happy-dom allows for server side code to be executed by a <script> tag
- GHSA ID
- GHSA-96g7-g7g9-jxw8
- CVE ID
- CVE-2024-51757
- Severity
- critical
- Published
- Updated
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
Impact
Consumers of the NPM package happy-dom
Patches
The security vulnerability has been patched in v15.10.2
Workarounds
No easy workarounds to my knowledge
References
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8 ↗
- https://github.com/capricorn86/happy-dom/issues/1585 ↗
- https://github.com/capricorn86/happy-dom/pull/1586 ↗
- https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac ↗
- https://github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd ↗
- https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-51757 ↗
- https://github.com/advisories/GHSA-96g7-g7g9-jxw8 ↗