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.
| Software | From | Fixed in |
|---|---|---|
expr-eval
|
- | 2.0.2.x |
expr-eval-fork
|
- | 3.0.0 |