CRITICAL
GHSA-96g7-g7g9-jxw8
happy-dom allows for server side code to be executed by a <script> tag
Quick fix
GHSA-96g7-g7g9-jxw8 — happy-dom: upgrade to the fixed version with the command below.
npm install happy-dom@15.10.2Details
### 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)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-51757[ADVISORY]
- https://github.com/capricorn86/happy-dom/issues/1585[WEB]
- https://github.com/capricorn86/happy-dom/pull/1586[WEB]
- https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac[WEB]
- https://github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd[WEB]
- https://github.com/capricorn86/happy-dom[PACKAGE]
- https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2[WEB]