CVE-2026-12866
CVE-2026-12866
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.2 · Critical · EPSS 0.9%
- Published
- Updated
Stack: node
Affected products and versions
expr-eval
- Versions
- ≥ 0: Affected (semver)
No fix published
org.webjars.npm:expr-eval
- Versions
- ≥ 0: Affected (semver)
No fix published
expr-eval npm
- Affected ranges
- SEMVER: ≤ 2.0.2
No fix published
org.webjars.npm:expr-eval Maven
- Versions
- 2.0.2
- Affected ranges
- ECOSYSTEM: ≤ 2.0.2
No fix published