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

CVE-2025-12735 — expr-eval

CRITICALFix: silentmatt/expr-eval#288

CVE-2025-12735 is a critical-severity (CVSS 9.8) Code Injection vulnerability in expr-eval. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for expr-eval — see the affected versions and patch details below.

CVE-2025-12735

Also known asGHSA-jc85-fpwf-qm7x
Published
Updated
Affected
2 pkgs
Patched
1 / 2
Exploits
1 known
Exploitation data as of Nov 10, 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-12735.

EPSS Exploitation Probability

via FIRST.org ↗
1.8%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs78th percentile — riskier than 78% of all scored CVEsHighest risk
0.00%0.97%1.94%2.91%0.1%1.8%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
531Kdownloads / week
expr-eval-forknpm
4.0Mdownloads / week

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 Packages

2 total 1 fixed
EcosystemPackageVulnerable rangeFix
📦npmexpr-evalall versionsNo fix
📦npmexpr-eval-forkall versions3.0.1npm install expr-eval-fork@3.0.1

Affected Products

2 products · 2 configurations
Application
javascript expression evaluatorjorenbroekema
1 version
3.0.0
Application
javascript expression evaluatorsilentmatt
≤ 2.0.2
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

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-12735; 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

    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.

Frequently Asked Questions

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

Is CVE-2025-12735 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2025-12735: expr-eval RCE — Fixed in 3.0.1