CVE-2025-13204
JSON

9.8critical

CVE-2025-13204

Severity
9.8critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.86% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
certcc
Also known as
GHSA-8gw3-rxh4-v6jx

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

Product or packageVersionsReported by
silentmatt expr-evalup to 2.0.2CVE List
expr-eval (npm)up to 2.0.2GitHub Advisory Database
expr-eval-fork (npm)before 2.0.2GitHub Advisory Database
silentmatt javascript_expression_evaluatorNot specifiedNVD

All scores

CISA-ADP9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub7.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Classification

CWE-1321

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

NVD (es)

El paquete npm 'expr-eval' es vulnerable a la Contaminación de Prototipos. Un atacante con acceso a la interfaz de evaluación de expresiones puede usar el modelo de herencia basado en prototipos de JavaScript para lograr la ejecución de código arbitrario. El paquete npm 'expr-eval-fork' resuelve este problema.

References

https://www.npmjs.com/package/expr-eval-forkproduct, web
https://github.com/silentmatt/expr-evalpackage, product
https://github.com/jorenbroekema/expr-evalproduct, web
https://www.huntr.dev/bounties/1-npm-expr-eval/exploit, third-party-advisory
https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.pyproduct, web
https://github.com/silentmatt/expr-eval/pull/252/filesissue-tracking, patch, web
https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.pyexploit, product, web
https://nvd.nist.gov/vuln/detail/CVE-2025-13204advisory
https://github.com/jorenbroekema/expr-eval/commit/6c475a118643ae0efe012de283e932fb8b74324bweb
https://github.com/silentmatt/expr-eval/commit/6e889e0e75c50ac37d70c35388602025650e0c50web
https://www.huntr.dev/bounties/1-npm-expr-evalweb

Sources

SourceRecordLicence
CVE ListCVE-2025-13204 changed 2026-10-30CVE Terms of Use
GitHub Advisory DatabaseGHSA-8gw3-rxh4-v6jx changed 2026-09-10CC-BY-4.0
NVDCVE-2025-13204 changed 2026-10-30Public domain