{"id":"CVE-2025-13204","published":"2025-11-14T17:02:39Z","modified":"2026-10-30T18:06:36Z","title":"CVE-2025-13204","vendor":"silentmatt","product":"expr-eval","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01563,"percentile":0.75576,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://www.npmjs.com/package/expr-eval-fork","tags":[]},{"url":"https://github.com/silentmatt/expr-eval","tags":[]},{"url":"https://github.com/jorenbroekema/expr-eval","tags":[]},{"url":"https://www.huntr.dev/bounties/1-npm-expr-eval/","tags":["third-party-advisory"]},{"url":"https://github.com/SECCON/SECCON2022_final_CTF/blob/main/jeopardy/web/babybox/solver/solver.py","tags":[]},{"url":"https://github.com/silentmatt/expr-eval/pull/252/files","tags":["patch"]},{"url":"https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py","tags":["exploit"]}],"priority":{"score":27.0,"factors":[{"name":"EPSS percentile","points":15.12},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"silentmatt","affectedVersions":[{"vendor":"silentmatt","product":"expr-eval","versions":["<= 2.0.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2026-10-30T18:06:32.275092Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"expr-eval","vulnerableRanges":["<=2.0.2"],"patched":[],"from":["GHSA-8gw3-rxh4-v6jx"],"provenance":"source"},{"ecosystem":"npm","package":"expr-eval-fork","vulnerableRanges":["<2.0.2"],"patched":["2.0.2"],"from":["GHSA-8gw3-rxh4-v6jx"],"provenance":"source"}],"summary":{"text":"The npm package expr-eval, published by silentmatt, contains a prototype pollution flaw in its expression evaluation logic, where attacker-controlled input can modify JavaScript object prototypes. An attacker with access to the package's eval interface, requiring no privileges or user interaction over the network, can exploit this inheritance behaviour to achieve arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:33Z"},"euvd":{"id":"EUVD-2025-197614","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/vladko312/extras/blob/f549d505af300fd74a01b46fab2102990ff1c14d/expr-eval.py"],"lineage":{"familyId":"fam-silentmatt-expr-eval-cve-2025-12735","parents":[{"from":"CVE-2025-12735","to":"CVE-2025-13204","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/evaluate.js"],"commits":["https://github.com/jorenbroekema/expr-eval/commit/1d71bb2ca8f98df8de00e9cc4de8fdd468a7ad43","https://github.com/jorenbroekema/expr-eval/commit/6c475a118643ae0efe012de283e932fb8b74324b"],"basis":"shared function","functions":["evaluate"]}]}]}}