RCE in Expr-Eval-Fork
CVE-2025-12735
- CVSS v3
- 9.8 Critical
- Public exploits
- 3 repositories
- EPSS
- 0.017 · 78.4th percentile
- Published
- 2025-11-05
The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.017, 78.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Expr-Eval-Fork — versions 0
- Jorenbroekema JavaScript Expression Evaluator — versions 3.0.0
- Silentmatt Expr-Eval — versions 0
- Silentmatt JavaScript Expression Evaluator
Weakness classification (CWE)
Public exploits and proof-of-concept code
3 public repositories with exploit or proof-of-concept code for this CVE:
- alecasg555/safe-expr-eval (4 stars, last pushed 2026-05-25): Secure expression evaluator - Drop-in replacement for expr-eval without CVE-2025-12735 vulnerability
- AN5I/cve-2025-12735-expr-eval-rce (last pushed 2025-11-21): Security research tool for detecting and testing CVE-2025-12735 (expr-eval RCE vulnerability)
- alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce (last pushed 2025-11-20): Security research tool for detecting and testing CVE-2025-12735 (expr-eval RCE vulnerability)
References
- github.com/silentmatt/expr-eval (Product)
- github.com/jorenbroekema/expr-eval (Product)
- www.npmjs.com/package/expr-eval-fork (Product)
- www.npmjs.com/package/expr-eval (Product)
- github.com/silentmatt/expr-eval/pull/288 (Patch, Issue Tracking)
- Github Security Advisory (Third Party Advisory, third-party-advisory)
- CERT/CC Advisory (Third Party Advisory, third-party-advisory)
- www.kb.cert.org/vuls/id/263614 (Third Party Advisory)
- github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67… (Product)
This CVE has public exploit evidence. See the latest CVEs with public exploits.