CVE-2025-13204CWE-1321

CVE-2025-13204

High · published November 14, 2025

CVSS v3.1
7.3
EPSS
0%
Percentile
40.8
In the wild
Unconfirmed
What it is

⚡ A sneaky flaw in the npm package `expr-eval` lets attackers tap into JavaScript's prototype powers for arbitrary code execution! 🔥 Think of it as a restaurant where a customer can change the recipe of every dish on the menu — a simple order can lead to chaos in the kitchen if no one is checking those requests! An attacker with access could execute harmful commands that compromise the entire application, leading to data theft or service disruption! This makes the situation particularly alarming if you're using this package in a critical application environment.

Put simply

Think of it as a restaurant where a customer can change the recipe of every dish on the menu — a simple order can lead to chaos in the kitchen if no one is checking those requests! This vulnerability allows attackers to exploit the prototype pollution vulnerability in the `expr-eval` npm package, enabling arbitrary code execution through the JavaScript prototype chain.

What to do

An attacker with access could execute harmful commands that compromise the entire application, leading to data theft or service disruption! This makes the situation particularly alarming if you're using this package in a critical application environment. Upgrade to the `expr-eval-fork` package immediately to patch this vulnerability. Review your code to ensure no other components are affected by similar issues, and consider implementing strict validation for user inputs. You've got this! With these steps, you can protect your application and maintain your security hero status! 🛡️

The record
Technical detail
CVSS v3.1
7.3 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00484 · 40.8th percentile
Weakness
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
2025-11-14T22:16Z
Affected products (1)
ProductVersionsFixed in
silentmatt/javascript_expression_evaluatorall versions—
References (7)
EPSS history
Timeline
  • 14 NOV 17:02Z
    CVE-2025-13204
    cvelistv5