RCE in Expr-Eval-Fork
CVE-2025-12735
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.
EPSS exploit prediction
EPSS: 0.023 (82.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 82nd percentile — 82.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.023 · newest: 0.023 · change: 0.000
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 proof-of-concept exploits
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.com/advisories/GHSA-jc85-fpwf-qm7x (Third Party Advisory, third-party-advisory)
- kb.cert.org/vuls/id/263614 (Third Party Advisory, third-party-advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Third Party Advisory)
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Product)
Frequently asked questions
- What is CVE-2025-12735?
- CVE-2025-12735 is a critical-severity vulnerability in Expr-Eval-Fork, classified under Code Injection. CVSS score: 9.8/10. Published 2025-11-05.
- How severe is CVE-2025-12735?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-12735 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.