CVE-2025-12735 CVE-2025-12735
CriticalCVSS 9.8
EPSS 1.7%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
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.
Upgrade path
6 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| expr-eval-fork | <= 3.0.0 | after 3.0.0 | Fixed |
| npm expr-eval(npm) | <= 2.0.2 | after 2.0.2 | Fixed |
| npm expr-eval-fork(npm) | < 3.0.1; <= 3.0.0 | 3.0.1 | Fixed |
| silentmatt expr-eval | <= 2.0.2 | after 2.0.2 | Fixed |
| silentmatt javascript expression evaluator | <= 2.0.2 | after 2.0.2 | Fixed |
| jorenbroekema javascript expression evaluator | = 3.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm expr-eval(npm) | <= 2.0.2 | No fix listed |
| npm expr-eval-fork(npm) | <= 3.0.0 | No fix listed |
| silentmatt expr-eval | <= 2.0.2 | No fix listed |
| expr-eval-fork | <= 3.0.0 | No fix listed |
| jorenbroekema javascript expression evaluator | = 3.0.0 | No fix listed |
| silentmatt javascript expression evaluator | <= 2.0.2 | No fix listed |
| npm expr-eval-fork(npm) | < 3.0.1 | 3.0.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- github.com product
- github.com product
- www.npmjs.com product
- www.npmjs.com product
- github.com patch
- github.com exploit product
- www.kb.cert.org third-party-advisory
- CERT/CC Advisory third-party-advisory
- github.com patch
- Github Security Advisory third-party-advisory