VDB
CVE-2025-12735
CVE-2025-12735
PUBLISHED
CVSS 9.800000190734863 CRITICAL
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.
EPSS 0.07% · 22.6th percentile
Risk Scores
CVSS v3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.07%
22.6th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| silentmatt | expr-eval | 0 |
| expr-eval-fork | expr-eval-fork | 0 |
| silentmatt | javascript_expression_evaluator | 0 |
| npm | expr-eval-fork | 0 |
| jorenbroekema | javascript_expression_evaluator | 3.0.0 |
| npm | expr-eval | 0 |
Timeline
- Nov 5, 2025 CVE Published
- Nov 5, 2025 EPSS Score
- Nov 5, 2025 Coalition ESS Score
- Nov 5, 2025 PoC Published
- Nov 5, 2025 PoC Published
- Nov 5, 2025 PoC Published
- Nov 10, 2025 EPSS Score
- Nov 10, 2025 Coalition ESS Score
- Nov 10, 2025 PoC Published
- Nov 10, 2025 PoC Published
- Nov 11, 2025 Coalition ESS Score
- Nov 11, 2025 PoC Published
References
- https://kb.cert.org/vuls/id/263614 url
- https://github.com/silentmatt/expr-eval url
- https://github.com/jorenbroekema/expr-eval url
- https://www.npmjs.com/package/expr-eval-fork url
- https://www.npmjs.com/package/expr-eval url
- https://github.com/silentmatt/expr-eval/pull/288 url
- Github Security Advisory third-party-advisory
- https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js exploit
- https://www.kb.cert.org/vuls/id/263614 url
- https://nvd.nist.gov/vuln/detail/CVE-2025-12735 advisory
- https://github.com/silentmatt/expr-eval/pull/289 url
- https://github.com/jorenbroekema/expr-eval/commit/1d71bb2ca8f98df8de00e9cc4de8fdd468a7ad43 url