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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-06-23 05:17
Updated : 2026-07-07 19:16
NVD link : CVE-2026-12866
Mitre link : CVE-2026-12866
CVE.ORG link : CVE-2026-12866
JSON object : View
Products Affected
No product.
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
