CVEvulnerability
CVE-2025-12735
9.8 CRITICAL
Official page ↗
- Status
- Analyzed
- Published
- 2025-11-05
- Last modified
- 2026-10-18
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 9.8 CRITICAL — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-94
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.
Affected configurations
• jorenbroekema javascript expression evaluator 3.0.0
• silentmatt javascript expression evaluator (<= 2.0.2)
Related
Weakness · CWE (1)
- CWE-94 Improper Control of Generation of Code weakness
References
- https://github.com/advisories/GHSA-jc85-fpwf-qm7x Third Party Advisory
- https://github.com/jorenbroekema/expr-eval Product
- https://github.com/silentmatt/expr-eval Product
- https://github.com/silentmatt/expr-eval/pull/288 Issue Tracking, Patch
- https://kb.cert.org/vuls/id/263614 Third Party Advisory
- https://www.npmjs.com/package/expr-eval Product
- https://www.npmjs.com/package/expr-eval-fork Product
- https://www.kb.cert.org/vuls/id/263614 Third Party Advisory
- https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js Product