CVE-2025-13204
CVE-2025-13204
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 9.8 · Critical · EPSS 0.9% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
expr-eval
- Versions
- ≥ 0, ≤ 2.0.2: Affected (custom)
No fix published
expr-eval npm
- Affected ranges
- SEMVER: ≤ 2.0.2
No fix published
expr-eval-fork npm
- Affected ranges
- SEMVER: < 2.0.2
Update to 2.0.2
Original sources
- https://www.npmjs.com/package/expr-eval-fork
- https://github.com/silentmatt/expr-eval
- https://github.com/jorenbroekema/expr-eval
- https://www.huntr.dev/bounties/1-npm-expr-eval/
- https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py
- https://github.com/silentmatt/expr-eval/pull/252/files
- https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py
- https://nvd.nist.gov/vuln/detail/CVE-2025-13204