CVE-2025-13204
CRITICAL 9.8CVSS 3.1expr-eval vulnerable to Prototype Pollution
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.
- Published
- 14 Nov 2025
- Last modified
- 30 Oct 2026
- Assigned by
- cret@cert.org
- NVD status
- Modified
- Weakness
- CWE-1321
- Also known as
- GHSA-8gw3-rxh4-v6jx
- Sources
- NVDJSONOSV GHSA-8gw3-rxh4-v6jxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | silentmatt | javascript_expression_evaluatorcpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | expr-eval | <= 2.0.2 | |
| OSV | npm | expr-eval-fork | < 2.0.2 | 2.0.2 |
References
- https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py · Product, WEB
- https://github.com/jorenbroekema/expr-eval · Product, WEB
- https://github.com/silentmatt/expr-eval · Product, PACKAGE
- https://github.com/silentmatt/expr-eval/pull/252/files · Issue Tracking, Patch, WEB
- https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py · Product, WEB
- https://www.huntr.dev/bounties/1-npm-expr-eval/ · Exploit, Third Party Advisory, WEB
- https://www.npmjs.com/package/expr-eval-fork · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-13204 · ADVISORY
- https://github.com/jorenbroekema/expr-eval/commit/6c475a118643ae0efe012de283e932fb8b74324b · WEB
- https://github.com/silentmatt/expr-eval/commit/6e889e0e75c50ac37d70c35388602025650e0c50 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 14 Nov 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 Nov 2025)