CVE-2024-51757

Fixes security vulnerability that allowed for server side code to be executed by a <script> tag

Published Nov 6, 2024 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-3226 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.
Github GHSA Github GHSA GHSA-96g7-g7g9-jxw8 happy-dom allows for server side code to be executed by a <script> tag
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00384}

epss

{'score': 0.00418}

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_0

{'score': 9.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Critical

Type Values Removed Values Added
Description happy-dom is a JavaScript implementation of a web browser without its graphical user interface. Versions of happy-dom prior to 15.10.1 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.1. There are no known workarounds for this vulnerability. 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.
First Time appeared Capricorn86
Capricorn86 happy-dom
CPEs cpe:2.3:a:capricorn86:happy-dom:*:*:*:*:*:*:*:*
Vendors & Products Capricorn86
Capricorn86 happy-dom
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description happy-dom is a JavaScript implementation of a web browser without its graphical user interface. Versions of happy-dom prior to 15.10.1 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.1. There are no known workarounds for this vulnerability.
Title Fixes security vulnerability that allowed for server side code to be executed by a <script> tag
Weaknesses CWE-79
CWE-94
References
Metrics cvssV4_0

{'score': 9.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 6, 2024, 8:05 PM
Reserved
Oct 31, 2024, 2:12 PM
Status
Deferred
Published
Nov 6, 2024, 8:15 PM
Modified
Jun 17, 2026, 8:06 AM
Severity
Critical
Public date
Nov 6, 2024, 7:18 PM