CVE-2025-12735

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:jorenbroekema:javascript_expression_evaluator:3.0.0:*:*:*:*:node.js:*:*
cpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:*

History

18 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) La biblioteca expr-eval es un analizador y evaluador de expresiones JavaScript diseñado para evaluar de forma segura expresiones matemáticas con variables definidas por el usuario. Sin embargo, debido a una validación de entrada insuficiente, un atacante puede pasar un objeto de contexto manipulado o usar MEMBER del objeto de contexto en la función evaluate() y desencadenar la ejecución de código arbitrario.

Information

Published : 2025-11-05 01:15

Updated : 2026-10-18 21:10


NVD link : CVE-2025-12735

Mitre link : CVE-2025-12735

CVE.ORG link : CVE-2025-12735


JSON object : View

Products Affected

jorenbroekema

  • javascript_expression_evaluator

silentmatt

  • javascript_expression_evaluator
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')