Vulnerability · Published Nov 5, 2025 · Assigned by certcc

CVE-2025-12735CVE-2025-12735

Critical 9.8

In plain English

A critical-severity security flaw in expr-eval-fork from expr-eval-fork. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.8%top 21.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmexpr-evalno fix listedGHSA-jc85-fpwf-qm7x
npmexpr-eval-fork3.0.1GHSA-jc85-fpwf-qm7x

Affected products (as reported)

VendorProductVersions
silentmatt expr-eval 0 – through 2.0.2
expr-eval-fork expr-eval-fork 0 – through 3.0.0

References