Skip to content

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

CriticalCVSS 9.3 EPSS 0.77%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
capricorn86 happy-dom < 15.10.1; = < 15.10.2 15.10.1 Fixed
npm happy-dom(npm) < 15.10.2 15.10.2 Fixed

Affected products

ProductAffected versionsFixed in
npm happy-dom(npm) < 15.10.2 15.10.2
capricorn86 happy-dom = < 15.10.2 No fix listed
capricorn86 happy-dom < 15.10.1 15.10.1

References