GitHub Advisory Database
GHSA-96g7-g7g9-jxw8
happy-dom allows for server side code to be executed by a <script> tag
Details
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
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | happy-dom | All versions before 15.10.2 (fixed in 15.10.2) |
References
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8
- https://nvd.nist.gov/vuln/detail/CVE-2024-51757
- 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
- https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2