CRITICAL · CVSS 9.8 Published: 2025-11-05
CVE-2025-12735 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2025-12735 |
|---|---|
| Base Severity / Score | CRITICAL (9.8 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Weakness Classification | CWE-94 |
| Archive Categories | CRITICAL Advisories · 2025 Index |
Operational Mitigation Guidance
Immediate patching or compensating network isolation is strongly advised. Audit perimeter exposure, apply vendor security updates immediately, and restrict service privileges using least-privilege namespaces. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/advisories/GHSA-jc85-fpwf-qm7x
- https://github.com/jorenbroekema/expr-eval
- https://github.com/silentmatt/expr-eval
Related Security Advisories
CVE-2025-12734 LOW 3.5
CVE-2025-12736 MEDIUM 6.5
CVE-2025-12762 CRITICAL 9.1
CVE-2025-1283 CRITICAL 9.8
CVE-2025-12870 CRITICAL 9.8
CVE-2025-12871 CRITICAL 9.8
CVE-2025-12977 CRITICAL 9.1
CVE-2025-13021 CRITICAL 9.8