CVE-2024-51757
happy-dom is a JavaScript implementation of a web browser without …
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac
- github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd
- github.com/capricorn86/happy-dom/issues/1585
- github.com/capricorn86/happy-dom/pull/1586
- github.com/capricorn86/happy-dom/releases/tag/v15.10.2
- github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8
- nvd.nist.gov/vuln/detail/CVE-2024-51757
- github.com/advisories/GHSA-96g7-g7g9-jxw8
- nvd.nist.gov/vuln/detail/CVE-2024-51757
- cve.org/CVERecord?id=CVE-2024-51757
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.