Skip to main content
← All vulnerabilities
CVE-2025-12735GHSA-JC85-FPWF-QM7X

CVE-2025-12735

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.1
3 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • silentmatt expr-eval

    through 2.0.2

  • expr-eval-fork expr-eval-fork

    through 3.0.0

  • expr-evalnpm

    through 2.0.2

  • expr-eval-forknpm

    fixed in 3.0.1

References 10

GitHub · silentmatt/expr-eval

GitHub · jorenbroekema/expr-eval

npmjs.com

GitHub Advisory Database

kb.cert.org

GitHub · AN5I/cve-2025-12735-expr-eval-rce

GitHub · alecasg555/safe-expr-eval

GitHub · alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce