CVE-2025-13204
Silentmatt Javascript Expression Evaluator vulnerability
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 products
Javascript Expression Evaluator. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Silentmatt Javascript Expression Evaluator runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.huntr.dev/bounties/1-npm-expr-eval/ · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-13204
- github.com/jorenbroekema/expr-eval
- github.com/silentmatt/expr-eval
- www.npmjs.com/package/expr-eval-fork
- github.com/silentmatt/expr-eval/pull/252/files
- github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py
- github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py
- nvd.nist.gov/vuln/detail/CVE-2025-13204
- cve.org/CVERecord?id=CVE-2025-13204
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.