{"cve":"CVE-2024-51757","nvd":{"published":"2024-11-06T20:15:06.337","modified":"2026-06-17T08:06:16.573","status":"Deferred","description":"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.","cvss_v4":{"vector":"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","score":9.3},"cvss_v3":null,"cwes":["CWE-79","CWE-94"],"references":["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"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:57:07.693694550+00:00"},"epss":{"cve":"CVE-2024-51757","score":0.00772,"percentile":0.55705,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-96g7-g7g9-jxw8","url":"https://osv.dev/vulnerability/GHSA-96g7-g7g9-jxw8","summary":"happy-dom allows for server side code to be executed by a <script> tag","modified":"2024-11-06T23:39:29Z","packages":[{"ecosystem":"npm","name":"happy-dom","purl":"pkg:npm/happy-dom","ranges":["<15.10.2"],"fixed":["15.10.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}