Releases5
Frequency6 months 5 days
Last Release
Mathematical expression evaluator fork with exports map, prototype pollution and code injection security fixes

CVE History

CVEPublishedCVSS v3CVSS v2
7.3 HIGH

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.

9.8 CRITICAL

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.