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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://www.npmjs.com/package/expr-eval, https://www.npmjs.com/package/expr-eval-fork, https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js, https://github.com/advisories/GHSA-jc85-fpwf-qm7x, https://kb.cert.org/vuls/id/263614, https://www.kb.cert.org/vuls/id/263614, https://github.com/silentmatt/expr-eval/pull/288, https://github.com/silentmatt/expr-eval/pull/288, https://github.com/jorenbroekema/expr-eval, https://github.com/silentmatt/expr-eval
