9.8
CRITICAL CVSS 3.1
CVE-2025-12735
CVE-2025-12735
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.

INFO

Published Date :

Nov. 5, 2025, 1:15 a.m.

Last Modified :

Nov. 20, 2025, 4:15 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-12735 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
Update the library to prevent arbitrary code execution via crafted input.
  • Update the expr-eval library to a secure version.
  • Sanitize all user-provided input before evaluation.
  • Avoid evaluating untrusted expressions.
Public PoC/Exploit Available at Github

CVE-2025-12735 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-12735 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-12735 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Security research tool for detecting and testing CVE-2025-12735 (expr-eval RCE vulnerability)

Python

Updated: 4 days, 11 hours ago
0 stars 1 fork 1 watcher
Born at : Nov. 21, 2025, 12:20 a.m. This repo has been linked 1 different CVEs too.

Security research tool for detecting and testing CVE-2025-12735 (expr-eval RCE vulnerability)

Python

Updated: 4 days, 12 hours ago
0 stars 0 fork 0 watcher
Born at : Nov. 20, 2025, 11:52 p.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 day, 12 hours ago
7392 stars 1218 fork 1218 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 825 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-12735 vulnerability anywhere in the article.

  • BleepingComputer
Popular JavaScript library expr-eval vulnerable to RCE flaw

A critical vulnerability in the popular expr-eval JavaScript library, with over 800,000 weekly downloads on NPM, can be exploited to execute code remotely through maliciously crafted input. The securi ... Read more

Published Date: Nov 10, 2025 (2 weeks ago)
  • CybersecurityNews
Critical Vulnerability in Popular NPM Library Exposes AI and NLP Apps to Remote Code Execution

A critical security flaw has been discovered in the widely used npm package expr-eval, potentially exposing AI and natural language processing applications to remote code execution attacks. The vulner ... Read more

Published Date: Nov 10, 2025 (2 weeks ago)

The following table lists the changes that have been made to the CVE-2025-12735 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Nov. 20, 2025

    Action Type Old Value New Value
    Changed 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 variables object into the evaluate() function and trigger arbitrary code execution. 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.
  • CVE Modified by [email protected]

    Nov. 13, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/advisories/GHSA-jc85-fpwf-qm7x
    Added Reference https://kb.cert.org/vuls/id/263614
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 10, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 08, 2025

    Action Type Old Value New Value
    Added Reference https://www.kb.cert.org/vuls/id/263614
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Nov. 05, 2025

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by [email protected]

    Nov. 05, 2025

    Action Type Old Value New Value
    Added 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 variables object into the evaluate() function and trigger arbitrary code execution.
    Added Reference https://github.com/jorenbroekema/expr-eval
    Added Reference https://github.com/silentmatt/expr-eval
    Added Reference https://github.com/silentmatt/expr-eval/pull/288
    Added Reference https://www.npmjs.com/package/expr-eval
    Added Reference https://www.npmjs.com/package/expr-eval-fork
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact