CVE-2025-12735 Details
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.
A vulnerability allowing arbitrary code execution has been identified in the expr-eval library, a JavaScript expression parser and evaluator. This issue arises from inadequate input validation, which allows attackers to pass a manipulated variables object into the evaluate() function, leading to the execution of arbitrary code. The vulnerability is present in versions of the expr-eval library prior to 2.0.3.
Users can upgrade to expr-eval version 2.0.3 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js | CISA-ADP | Product |
| https://www.kb.cert.org/vuls/id/263614 | CVE | Third Party Advisory |
| https://github.com/advisories/GHSA-jc85-fpwf-qm7x | [email protected] | Third Party Advisory |
| https://github.com/jorenbroekema/expr-eval | [email protected] | Product |
| https://github.com/silentmatt/expr-eval | [email protected] | Product |
| https://github.com/silentmatt/expr-eval/pull/288 | [email protected] | Issue TrackingPatch |
| https://kb.cert.org/vuls/id/263614 | [email protected] | Third Party Advisory |
| https://www.npmjs.com/package/expr-eval | [email protected] | Product |
| https://www.npmjs.com/package/expr-eval-fork | [email protected] | Product |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jorenbroekema javascript expression evaluator | 3.0.0 |
CPE
Remediation
| |
| silentmatt javascript expression evaluator | <= 2.0.2 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 10, 2026 | Initial Analysis | [email protected] |
| Nov 20, 2025 | CVE Modified | [email protected] |
| Nov 13, 2025 | CVE Modified | [email protected] |
| Nov 10, 2025 | CVE Modified | CISA-ADP |
| Nov 8, 2025 | CVE Modified | CVE |
| Nov 5, 2025 | CVE Modified | CISA-ADP |
| Nov 5, 2025 | New CVE Received | [email protected] |