CVE-2026-12866
CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-94 |
| Vendor | n/a |
| Product | expr-eval |
| Published | Jun 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for n/a expr-eval
Be the first to know when new critical vulnerabilities affecting n/a expr-eval are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
n/a / expr-eval
0 < *
References
Credits
Dinh Twan Doan