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.
Products Affected
| Vendor | Product | Version |
|---|---|---|
| silentmatt | javascript_expression_evaluator | * |
| jorenbroekema | javascript_expression_evaluator | 3.0.0 |