CVE-2025-12735

CVE-2025-12735

Published Nov 5, 2025 CVSS 3.1 · 9.8 Critical EPSS 1.8% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jc85-fpwf-qm7x expr-eval does not restrict functions passed to the evaluate function
History
Type Values Removed Values Added
First Time appeared Jorenbroekema
Jorenbroekema javascript Expression Evaluator
Silentmatt
Silentmatt javascript Expression Evaluator
Weaknesses CWE-94
CPEs cpe:2.3:a:jorenbroekema:javascript_expression_evaluator:3.0.0:*:*:*:*:node.js:*:*
cpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:*
Vendors & Products Jorenbroekema
Jorenbroekema javascript Expression Evaluator
Silentmatt
Silentmatt javascript Expression Evaluator
Type Values Removed Values Added
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. 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.
Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Expr-eval Project
Expr-eval Project expr-eval
Vendors & Products Expr-eval Project
Expr-eval Project expr-eval
Type Values Removed Values Added
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.
Title CVE-2025-12735
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
certcc
Published
Updated
Nov 22, 2025, 11:45 PM
Reserved
Nov 5, 2025, 12:04 AM
Status
Analyzed
Published
Nov 5, 2025, 1:15 AM
Modified
Oct 18, 2026, 9:10 PM
Severity
Critical
Public date
Nov 5, 2025, 12:22 AM