The expr-eval JavaScript library contains a vulnerability where the evaluate() function does not properly restrict functions passed via the variables object, allowing an attacker to execute arbitrary code. This flaw affects versions up to 2.0.2 and before 3.0.1. A fix is available in version 3.0.1. The vulnerability has a high severity score of 8.6 CVSS 4.0 and is related to improper input validation leading to code execution.