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

No history.

Information

Published : 2025-11-05 01:15

Updated : 2026-06-17 08:32


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')