GitHub Advisoryadvisory · npm
GHSA-8gw3-rxh4-v6jx expr-eval vulnerable to Prototype Pollution
HIGH
Official page ↗
- Aliases
- CVE-2025-13204
- Ecosystem
- npm
- Packages
- expr-eval, expr-eval-fork
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-1321
- Reviewed
- 2025-11-17
Affected packages
• npm expr-eval: <= 2.0.2 (no fix yet)
• npm expr-eval-fork: < 2.0.2 → fixed in 2.0.2
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.
Related
Alias · CVE (1)
- CVE-2025-13204 npm package `expr-eval` is vulnerable to Prototype Pollution. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-13204 advisory
- https://github.com/silentmatt/expr-eval/pull/252/files web
- https://github.com/jorenbroekema/expr-eval/commit/6c475a118643ae0efe012de283e932fb8b74324b web
- https://github.com/silentmatt/expr-eval/commit/6e889e0e75c50ac37d70c35388602025650e0c50 web
- https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py web
- https://github.com/jorenbroekema/expr-eval web
- https://github.com/silentmatt/expr-eval package
- https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py web
- https://www.huntr.dev/bounties/1-npm-expr-eval web
- https://www.npmjs.com/package/expr-eval-fork web