NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
CRITICAL severity

CVE-2025-13204 — expr-eval

CRITICALFix: silentmatt/expr-eval#252

CVE-2025-13204 is a critical-severity (CVSS 9.8) CWE-1321 vulnerability in expr-eval. A fix is available for expr-eval — see the affected versions and patch details below.

CVE-2025-13204

Also known asGHSA-8gw3-rxh4-v6jx
Published
Updated
Affected
2 pkgs
Patched
1 / 2
Exploits
None indexed
Exploitation data as of Nov 8, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

Proof-of-concept exploit code exists

  • CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for CVE-2025-13204.

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs58th percentile — riskier than 58% of all scored CVEsHighest risk
0.00%0.45%0.90%1.35%0.1%0.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

297other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
expr-evalnpm
545Kdownloads / week
expr-eval-forknpm
4.0Mdownloads / week

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.

Affected Packages

2 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmexpr-evalall versionsNo fix
📦npmexpr-eval-forkall versions2.0.2npm install expr-eval-fork@2.0.2

Affected Products

1 product · 1 configurations
Application
javascript expression evaluatorsilentmatt
all

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for expr-eval, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    A fix is available for CVE-2025-13204; check the affected-versions list above or the advisory for the patched release of expr-eval, then make sure no transitive dependency still pins the vulnerable range.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant
Workaround published by Red Hat
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: Red Hat security advisory for CVE-2025-13204 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat Enterprise Linux 8.2 Advanced Update Supportgrafana-pcp-0:1.0.5-5.el8_2RHSA-2026:0140

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2025-13204 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2025-13204: expr-eval RCE — Fixed in 2.0.2