Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

nvd логотип

CVE-2026-33943

Опубликовано: 27 мар. 2026
Источник: nvd
CVSS3: 8.8
CVSS3: 9.8
EPSS Низкий

Описание

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. In versions 15.10.0 through 20.8.7, a code injection vulnerability in ECMAScriptModuleCompiler allows an attacker to achieve Remote Code Execution (RCE) by injecting arbitrary JavaScript expressions inside export { } declarations in ES module scripts processed by happy-dom. The compiler directly interpolates unsanitized content into generated code as an executable expression, and the quote filter does not strip backticks, allowing template literal-based payloads to bypass sanitization. Version 20.8.8 fixes the issue.

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:capricorn86:happy_dom:*:*:*:*:*:node.js:*:*
Версия от 15.10.0 (включая) до 20.8.8 (исключая)

EPSS

Процентиль: 53%
0.00788
Низкий

8.8 High

CVSS3

9.8 Critical

CVSS3

Дефекты

CWE-94
CWE-917

Связанные уязвимости

CVSS3: 8.8
redhat
5 месяцев назад

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. In versions 15.10.0 through 20.8.7, a code injection vulnerability in `ECMAScriptModuleCompiler` allows an attacker to achieve Remote Code Execution (RCE) by injecting arbitrary JavaScript expressions inside `export { }` declarations in ES module scripts processed by happy-dom. The compiler directly interpolates unsanitized content into generated code as an executable expression, and the quote filter does not strip backticks, allowing template literal-based payloads to bypass sanitization. Version 20.8.8 fixes the issue.

CVSS3: 8.8
github
5 месяцев назад

Happy DOM ECMAScriptModuleCompiler: unsanitized export names are interpolated as executable code

EPSS

Процентиль: 53%
0.00788
Низкий

8.8 High

CVSS3

9.8 Critical

CVSS3

Дефекты

CWE-94
CWE-917