{"id":"GHSA-8gw3-rxh4-v6jx","summary":"expr-eval vulnerable to Prototype Pollution","details":"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.","aliases":["CVE-2025-13204"],"modified":"2026-07-17T21:17:25.832183923Z","published":"2025-11-14T18:31:39Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-11-17T18:39:19Z","nvd_published_at":"2025-11-14T17:16:01Z","cwe_ids":["CWE-1321"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-13204"},{"type":"WEB","url":"https://github.com/silentmatt/expr-eval/pull/252/files"},{"type":"WEB","url":"https://github.com/jorenbroekema/expr-eval/commit/6c475a118643ae0efe012de283e932fb8b74324b"},{"type":"WEB","url":"https://github.com/silentmatt/expr-eval/commit/6e889e0e75c50ac37d70c35388602025650e0c50"},{"type":"WEB","url":"https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py"},{"type":"WEB","url":"https://github.com/jorenbroekema/expr-eval"},{"type":"PACKAGE","url":"https://github.com/silentmatt/expr-eval"},{"type":"WEB","url":"https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py"},{"type":"WEB","url":"https://www.huntr.dev/bounties/1-npm-expr-eval"},{"type":"WEB","url":"https://www.npmjs.com/package/expr-eval-fork"}],"affected":[{"package":{"name":"expr-eval","ecosystem":"npm","purl":"pkg:npm/expr-eval"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-8gw3-rxh4-v6jx/GHSA-8gw3-rxh4-v6jx.json"}},{"package":{"name":"expr-eval-fork","ecosystem":"npm","purl":"pkg:npm/expr-eval-fork"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"2.0.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-8gw3-rxh4-v6jx/GHSA-8gw3-rxh4-v6jx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"}]}