~ / search / GHSA-jc85-fpwf-qm7x

GHSA-jc85-fpwf-qm7x

expr-eval does not restrict functions passed to the evaluate function

Source: GitHub Advisory Database (reviewed) High CVE-2025-12735

Packages

EcosystemPackageAffectedFixed in
npm expr-eval <= 2.0.2 no fix listed
npm expr-eval-fork < 3.0.1 3.0.1

Details

As written in the advisory (Markdown source, shown as plain text).

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 variables object into the evaluate() function and trigger arbitrary code execution.

References

External links from the advisory. They lead to third-party sites.