All reports
High

expr-eval does not restrict functions passed to the evaluate function

Affected versions

Affected versions
<= 3.0.0
Fixed version
3.0.1
Affected versions
<= 2.0.2
Fixed version
Not reported

Exploitation

CVE-2025-12735

Probability of exploitation in the next 30 days: 1.75%

FIRST EPSS · 2026-11-23

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 variables object into the evaluate() function and trigger arbitrary code execution.

Links

Credits

  • sei-vsarvepalli