CVE-2025-12735
Jorenbroekema Javascript Expression Evaluator vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Javascript Expression Evaluator. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Jorenbroekema Javascript Expression Evaluator runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/silentmatt/expr-eval/pull/288 · Patch
- github.com/advisories/GHSA-jc85-fpwf-qm7x · Third Party Advisory
- kb.cert.org/vuls/id/263614 · Third Party Advisory
- www.kb.cert.org/vuls/id/263614 · Third Party Advisory
- github.com/jorenbroekema/expr-eval
- github.com/silentmatt/expr-eval
- www.npmjs.com/package/expr-eval
- www.npmjs.com/package/expr-eval-fork
- nvd.nist.gov/vuln/detail/CVE-2025-12735
- cve.org/CVERecord?id=CVE-2025-12735
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.