CVE-2025-12735
criticalpriority · track · 11EPSS 0.018 · 78 %ileexploit · PoCEURUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (3)
Public proof-of-concept and weaponised exploit code.
affected products (8)
Products and version ranges known to be affected.
- jorenbroekema javascript expression evaluator= 3.0.0nvdUScpe:2.3:a:jorenbroekema:javascript_expression_evaluator:*:*:*:*:*:*:*:*
- silentmatt javascript expression evaluator≤ 2.0.2nvdUScpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:*:*:*
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-jc85-fpwf-qm7xexpr-eval does not restrict functions passed to the evaluate function2025-11-05ghsa · osvUS
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 variables object into the evaluate() function and trigger arbitrary code execution.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (24)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2025-12735cnnvd
- https://github.com/advisories/GHSA-jc85-fpwf-qm7xcnnvd
- https://github.com/jorenbroekema/expr-evalcnnvd
- https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.jscnnvd
- https://github.com/silentmatt/expr-eval/pull/288cnnvd
- https://kb.cert.org/vuls/id/263614cnnvd
- https://www.kb.cert.org/vuls/id/263614cnnvd
- https://www.npmjs.com/package/expr-eval-forkcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan