{"id":"GHSA-96g7-g7g9-jxw8","summary":"happy-dom allows for server side code to be executed by a \u003cscript\u003e tag","details":"### Impact\nConsumers of the NPM package `happy-dom`\n\n### Patches\nThe security vulnerability has been patched in v15.10.2\n\n### Workarounds\nNo easy workarounds to my knowledge\n\n### References\n[#1585](https://github.com/capricorn86/happy-dom/issues/1585)\n","aliases":["CVE-2024-51757"],"modified":"2024-11-06T23:39:29Z","published":"2024-11-06T15:27:50Z","database_specific":{"nvd_published_at":"2024-11-06T20:15:06Z","cwe_ids":["CWE-79"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-11-06T15:27:50Z"},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/capricorn86/happy-dom/issues/1585"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/pull/1586"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd"},{"type":"PACKAGE","url":"https://github.com/capricorn86/happy-dom"},{"type":"WEB","url":"https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2"}],"affected":[{"package":{"name":"happy-dom","ecosystem":"npm","purl":"pkg:npm/happy-dom"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"15.10.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/11/GHSA-96g7-g7g9-jxw8/GHSA-96g7-g7g9-jxw8.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}