CVE-2025-12735: expr-eval-fork Code Injection
Vulnerability summary
CVE-2025-12735 is a critical (CVSS 9.8) Code Injection vulnerability in expr-eval-fork. EPSS estimates a 1.76% chance of exploitation in the next 30 days, higher than 77.6% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 05-11-2025PublishedVulnerability first disclosed.
- 22-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
1.76%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
-0.49 pp
From 2.25% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExpr Eval
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard15 products
- kibana-8.17All versions (No fix recorded)
- kibana-8.17-bitnamiAll versions (No fix recorded)
- kibana-8.17-iamguardedAll versions (No fix recorded)
- kibana-8.18All versions (No fix recorded)
- kibana-8.18-bitnamiAll versions (No fix recorded)
Npm2 products
- expr-eval≤ 2.0.2
- expr-eval-fork< 3.0.1
Silentmatt2 products
- expr-eval≤ 2.0.2
- javascript_expression_evaluator≤ 2.0.2
Expr-eval-fork1 product
- expr-eval-fork≤ 3.0.0
Jorenbroekema1 product
5 vendors · 21 products
References
13 links- github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.jsExploitWEBEVIDENCEProduct