CVE-2025-13204: expr-eval vulnerable to Prototype Pollution
(updated )
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.
References
- github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py
- github.com/advisories/GHSA-8gw3-rxh4-v6jx
- github.com/jorenbroekema/expr-eval
- github.com/jorenbroekema/expr-eval/commit/6c475a118643ae0efe012de283e932fb8b74324b
- github.com/silentmatt/expr-eval
- github.com/silentmatt/expr-eval/commit/6e889e0e75c50ac37d70c35388602025650e0c50
- github.com/silentmatt/expr-eval/pull/252/files
- github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py
- nvd.nist.gov/vuln/detail/CVE-2025-13204
- www.huntr.dev/bounties/1-npm-expr-eval
- www.npmjs.com/package/expr-eval-fork
Code Behaviors & Features
Detect and mitigate CVE-2025-13204 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →