CVE-2025-12735Jorenbroekema Javascript Expression Evaluator
Critical 9.8 No auth needed
Follow: this CVE · Jorenbroekema · Jorenbroekema Javascript Expression Evaluator We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- No
- Published
- Nov 5, 2025
- Updated
- Oct 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Javascript Expression Evaluator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | expr-eval |
≤ 2.0.2 |
no fixed version | — |
| npm | expr-eval-fork |
< 3.0.1 |
3.0.1 |
npm install expr-eval-fork@3.0.1 |
Per OSV / GitHub Advisories (GHSA-jc85-fpwf-qm7x). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| jorenbroekema | javascript_expression_evaluator | 3.0.0 |
| silentmatt | javascript_expression_evaluator | ≤ 2.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Product
- github.com Product
- github.com Issue Tracking Patch
- kb.cert.org Third Party Advisory
- www.npmjs.com Product
- www.npmjs.com Product
- www.kb.cert.org Third Party Advisory
- github.com Product