Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Silentmatt | Javascript Expression Evaluator | All versions |
Related Weaknesses (CWE)
References
- https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/soProduct
- https://github.com/jorenbroekema/expr-evalProduct
- https://github.com/silentmatt/expr-evalProduct
- https://github.com/silentmatt/expr-eval/pull/252/filesPatchIssue Tracking
- https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14Product
- https://www.huntr.dev/bounties/1-npm-expr-eval/ExploitThird Party Advisory
- https://www.npmjs.com/package/expr-eval-forkProduct
FAQ
What is CVE-2025-13204?
CVE-2025-13204 is a vulnerability with a CVSS score of 7.3 (HIGH). 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...
How severe is CVE-2025-13204?
CVE-2025-13204 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-13204?
Check the references section above for vendor advisories and patch information. Affected products include: Silentmatt Javascript Expression Evaluator.