CVE-2025-12735
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
ProductJorenbroekema Javascript Expression Evaluator
PublishedNov 5, 2025
First seenNov 5, 2025
Weakness typeCWE-94Code injectionCWE-1321Prototype pollution
How to fix
Update
- expr-eval-fork3.0.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| jorenbroekema javascript_expression_evaluator | 3.0.0 | — |
| silentmatt javascript_expression_evaluator | v ≤ 2.0.2 | — |
| expr-evalnpm | v ≤ 2.0.2 | — |
| expr-eval-forknpm | v < 3.0.1 | 3.0.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.