Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2025-12735 EUVD-2025-37820GHSA-jc85-fpwf-qm7x

CVE-2025-12735

Published Nov 5, 2025 · Updated Nov 22, 2025 · Assigned by certcc

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 products

VendorProductAffectedFixed
silentmatt expr-eval ≤ 2.0.2 —
expr-eval-fork expr-eval-fork ≤ 3.0.0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm expr-eval <= 2.0.2 — GHSA-jc85-fpwf-qm7x
npm expr-eval-fork < 3.0.1 3.0.1 GHSA-jc85-fpwf-qm7x

References