# CVE-2024-51757: Fixes security vulnerability that allowed for server side code to be executed by a \<script\> tag

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 15.10.2 (CNA); fix release not confirmed
- Status: published
- Published: 2024-11-06 · Modified: 2024-11-06
- Aliases: GHSA-96g7-g7g9-jxw8
- Record: https://cvemate.com/vulnerability/CVE-2024-51757 · JSON: https://cvemate.com/vulnerability/CVE-2024-51757/json

## Description

```text
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.
```

## Signals

- CVSS: 9.3 critical (v4.0, CVE.org) 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
- EPSS: 0.772%, percentile 57.051%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- capricorn86 happy-dom: \< 15.10.2
- Npm happy-dom (Npm): \< 15.10.2

## References

- <https://github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8>
- <https://github.com/capricorn86/happy-dom/issues/1585>
- <https://github.com/capricorn86/happy-dom/pull/1586>
- <https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac>
- <https://github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd>
- <https://github.com/capricorn86/happy-dom/releases/tag/v15.10.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-51757>
- <https://github.com/capricorn86/happy-dom>

---

Data as of 2026-12-05T12:31:11.847Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
