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)

EPSS: 0.007 (50.9th percentile) — read the EPSS interpretation.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.