CVE-2025-12735

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
05/11/2025
Last modified:
10/02/2026

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:jorenbroekema:javascript_expression_evaluator:3.0.0:*:*:*:*:node.js:*:*
cpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:* 2.0.2 (including)