Code Execution Vulnerability in expr-eval Package by SilentMatt
CVE-2026-12866
9.2CRITICAL
What is CVE-2026-12866?
The expr-eval package is susceptible to a security flaw that enables code execution through the toJSFunction() API. Attackers can exploit this vulnerability by introducing specially crafted expressions, which, upon compilation into native code using new Function(), result in the execution of arbitrary JavaScript. This threat poses a significant risk as it allows malicious users to escape the sandbox of intended expressions and execute unauthorized code within the application’s environment.
Affected Version(s)
expr-eval 0
