RCE in Capricorn86 Happy-Dom
CVE-2024-51757
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
EPSS exploit prediction
EPSS: 0.008 (53.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 53.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Capricorn86 Happy-Dom — versions < 15.10.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/capricorn86/happy-dom/security/advisories/GHSA-96g7-g7g9-jxw8
- github.com/capricorn86/happy-dom/issues/1585
- github.com/capricorn86/happy-dom/pull/1586
- github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac
- github.com/capricorn86/happy-dom/commit/d23834c232f1cf5519c9418b073f1dcec6b2f0fd
- github.com/capricorn86/happy-dom/releases/tag/v15.10.2
Frequently asked questions
- What is CVE-2024-51757?
- CVE-2024-51757 is a vulnerability in Capricorn86 Happy-Dom, classified under Cross-site Scripting. Published 2024-11-06.
- Is CVE-2024-51757 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.