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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jc85-fpwf-qm7x expr-eval does not restrict functions passed to the evaluate function
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Thu, 20 Nov 2025 16:00:00 +0000

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.

Thu, 13 Nov 2025 15:15:00 +0000


Thu, 13 Nov 2025 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-917
References
Metrics threat_severity

None

threat_severity

Critical


Mon, 10 Nov 2025 14:15:00 +0000

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


Sat, 08 Nov 2025 01:30:00 +0000

Type Values Removed Values Added
References

Wed, 05 Nov 2025 19:30:00 +0000

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


Wed, 05 Nov 2025 11:00:00 +0000

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

Wed, 05 Nov 2025 00:45:00 +0000

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

cve-icon MITRE

Status: PUBLISHED

Assigner: certcc

Published:

Updated: 2025-11-22T23:45:45.512Z

Reserved: 2025-11-05T00:04:49.648Z

Link: CVE-2025-12735

cve-icon Vulnrichment

Updated: 2025-11-08T00:11:55.078Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-11-05T01:15:33.313

Modified: 2025-11-20T16:15:56.163

Link: CVE-2025-12735

cve-icon Redhat

Severity : Critical

Publid Date: 2025-11-05T00:22:55Z

Links: CVE-2025-12735 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2025-11-05T10:47:04Z