CVE-2025-12735: The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical
CVE-2025-12735 is a critical-severity flaw (CVSS 9.8) affecting javascript expression evaluator, javascript expression evaluator. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- CISA SSVC: public proof of concept
- CISA SSVC: automatable with total technical impact
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.8% (top 22%) |
| CISA exploited list | No |
| Weakness | CWE-94 |
| Published | 2025-11-05 |
| Last modified | 2026-10-18 |
Last updated 2026-10-18 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: alecasg555/safe-expr-eval (4 stars)
- GitHub PoC: alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce (0 stars)
- GitHub PoC: AN5I/cve-2025-12735-expr-eval-rce (0 stars)
- Write-up: github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/secu
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-12735?
javascript expression evaluator: downgrade or apply the listed mitigation; javascript expression evaluator: upgrade to newer than 2.0.2. Exact commands for each OS are on this page.
Is CVE-2025-12735 being exploited?
CVE-2025-12735 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-12735 affect?
CVE-2025-12735 affects javascript expression evaluator, javascript expression evaluator. Severity is critical (CVSS 9.8). 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 ob
How urgent is CVE-2025-12735?
Priority 65/100. Critical severity; CISA SSVC: public proof of concept; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-13204 HIGH 7.3 MITIGATE npm package `expr-eval` is vulnerable to Prototype Pollution