Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. expr-eval
  4. ›
  5. CVE-2025-13204

CVE-2025-13204: expr-eval vulnerable to Prototype Pollution

November 14, 2025 (updated November 17, 2025)

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 →

Affected versions

All versions up to 2.0.2

Solution

Unfortunately, there is no solution available yet.

Impact 7.3 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/expr-eval/CVE-2025-13204.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 24 Nov 2025 00:19:28 +0000.