Silentmatt expr-eval
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- <= 2.0.2
- <= 3.0.0
Mitigation
Upgrade expr-eval-fork to 3.0.1 or later.
References
- Patch github.com/silentmatt/expr-eval/pull/288
- Vendor advisory github.com/advisories/GHSA-jc85-fpwf-qm7x
Timeline
Days relative to CVE publicationFirst public PoC 16 days after publication; not in CISA KEV. First PoC: alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce (created 20 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs · 1 not a PoC
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce | 20 Nov 2025 +16 d | 0 | PoC |
| AN5I/cve-2025-12735-expr-eval-rce | 21 Nov 2025 +16 d | 0 | PoC
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| alecasg555/safe-expr-eval | 27 Nov 2025 +23 d | 4 | Not a PoC · unrelated
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js | unknown | 14 Nov 2026 |