CVE-2026-115895 Happy DOM - Remote Code Execution

Happy DOM 17.0.0 to 21.0.4 contains a remote code execution caused by improper validation of named ESM import aliases in ECMAScriptModuleCompiler.ts, letting attackers execute arbitrary JavaScript in Node.js host, exploit requires enableJavaScriptEvaluation enabled and attacker-controlled HTML or module source.

CVSS base score 8.8 /10
High
CISA KEV
Not listed
Public exploit
None known
EPSS
0.56% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Remote Code Execution
Impact
Remote Code Execution
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
23 October 2026
Updated
25 October 2026
Weakness
CWE-94

Vendor fix

Update to version 21.0.4 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs