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

How to fix

Update
  • expr-eval-fork3.0.1 or later

Affected products

ProductAffected versionsFixed in
jorenbroekema javascript_expression_evaluator3.0.0—
silentmatt javascript_expression_evaluatorv ≤ 2.0.2—
expr-evalnpmv ≤ 2.0.2—
expr-eval-forknpmv < 3.0.13.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.