critical9.3
CVE-2024-51757
happy-dom allows for server side code to be executed by a <script> tag
Impact
### 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 [#1585](https://github.com/capricorn86/happy-dom/issues/1585)
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | happy-dom | < 15.10.2 | 15.10.2 |
Affected products
| Product | Affected versions |
|---|---|
| Happy-Dom | before 15.10.2 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac
- https://github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd
- https://github.com/capricorn86/happy-dom/issues/1585
- https://github.com/capricorn86/happy-dom/pull/1586
- https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8
- https://github.com/advisories/GHSA-96g7-g7g9-jxw8
- https://nvd.nist.gov/vuln/detail/CVE-2024-51757