{"id":"CVE-2024-51757","aliases":["GHSA-96g7-g7g9-jxw8"],"url":"https://o3.security/vulnerability/CVE-2024-51757","summary":"Fixes security vulnerability that allowed for server side code to be executed by a <script> tag","details":"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.","published":"2024-11-06T19:18:23.923Z","modified":"2026-07-15T01:49:09.413801888Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"happy-dom","fixedVersion":"15.10.2"}],"fix":{"url":"https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac","label":"capricorn86/happy-dom@5ee0b16"},"references":[{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/51xxx/CVE-2024-51757.json"},{"type":"ADVISORY","url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-51757"},{"type":"REPORT","url":"https://github.com/capricorn86/happy-dom/issues/1585"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd"},{"type":"FIX","url":"https://github.com/capricorn86/happy-dom/pull/1586"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:09.413801888Z"}}