ГлавнаяУязвимости → CVE-2026-12866
9.8критическая

CVE-2026-12866

Описание

All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application's context.

CVSS
Балл9.8 — критическая
ВекторCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Источники
https://github.com/silentmatt/expr-eval/blob/master/src/expression.js%23L55https://github.com/silentmatt/expr-eval/issues/292https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-17662018https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690