Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13204: CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in silentmatt expr-eval

0
High
VulnerabilityCVE-2025-13204cvecve-2025-13204cwe-1321
Published: Fri Nov 14 2025 (11/14/2025, 17:02:39 UTC)
Source: CVE Database V5
Vendor/Project: silentmatt
Product: expr-eval

Description

npm package `expr-eval` is vulnerable to Prototype Pollution. An attacker with access to express eval interface can use JavaScript prototype-based inheritance model to achieve arbitrary code execution. The npm expr-eval-fork package resolves this issue.

AI-Powered Analysis

AILast updated: 11/21/2025, 18:09:41 UTC

Technical Analysis

CVE-2025-13204 identifies a prototype pollution vulnerability in the npm package expr-eval, maintained by silentmatt. Prototype pollution occurs when an attacker can modify the prototype of a base object, thereby influencing all objects inheriting from it. In this case, the expr-eval package, which parses and evaluates mathematical expressions in JavaScript, improperly controls modifications to object prototype attributes. An attacker with access to the expression evaluation interface can inject malicious payloads that alter the prototype chain, enabling arbitrary code execution within the context of the vulnerable application. This vulnerability is particularly dangerous because it requires no authentication or user interaction, and can be exploited remotely over the network. The CVSS v3.1 base score of 7.3 reflects a high severity, with network attack vector, low attack complexity, no privileges required, and no user interaction needed. The impact includes potential leakage of sensitive data (confidentiality), unauthorized modification of application state or data (integrity), and disruption or denial of service (availability). The vulnerability affects all versions of expr-eval, with no official patch available from silentmatt at the time of publication; however, the expr-eval-fork package addresses the issue. No known exploits have been reported in the wild yet, but the nature of prototype pollution and the widespread use of expr-eval in JavaScript projects make this a critical risk.

Potential Impact

For European organizations, the impact of CVE-2025-13204 can be substantial, especially for those relying on JavaScript-based web applications, server-side Node.js services, or any software components that incorporate the expr-eval package. Exploitation could lead to unauthorized code execution, allowing attackers to escalate privileges, exfiltrate sensitive data, manipulate business logic, or disrupt services. This can result in data breaches, financial losses, reputational damage, and regulatory penalties under GDPR. The vulnerability’s network accessibility and lack of authentication requirements increase the attack surface, making it easier for threat actors to target organizations remotely. Industries with critical infrastructure, financial services, healthcare, and government sectors in Europe are particularly vulnerable due to the sensitivity of their data and services. Additionally, supply chain risks arise if expr-eval is embedded in third-party software or libraries used by European companies, potentially propagating the vulnerability widely.

Mitigation Recommendations

European organizations should immediately audit their software dependencies to identify usage of the expr-eval package. Where found, they should replace expr-eval with the expr-eval-fork package or other secure alternatives that have addressed the prototype pollution issue. If replacement is not immediately feasible, implement runtime protections such as JavaScript sandboxing, prototype pollution detection libraries, or strict input validation to prevent malicious payloads from reaching the expression evaluation interface. Conduct thorough code reviews focusing on areas where user input is parsed or evaluated dynamically. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious prototype pollution attack patterns. Monitor application logs for anomalies indicative of prototype manipulation attempts. Finally, maintain an incident response plan tailored to code injection and prototype pollution scenarios to minimize impact if exploitation occurs.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
certcc
Date Reserved
2025-11-14T16:52:35.957Z
Cvss Version
null
State
PUBLISHED

Threat ID: 691763c61dec7bb205e65289

Added to database: 11/14/2025, 5:15:50 PM

Last enriched: 11/21/2025, 6:09:41 PM

Last updated: 12/30/2025, 11:36:36 AM

Views: 64

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats