Security Feed
See the latest insights and analysis from our MDR team.
RSS for SlackGHSA-q9v2-7m5w-4693
By Yuval Cohen |
23 June 2026
CVE-2026-12866 – expr-eval toJSFunction() expression injection enables arbitrary JavaScript execution
All versions of expr-eval allow code execution when untrusted input is compiled via toJSFunction(). Crafted expressions can escape the expression sandbox because the API builds executable code with new Function(), enabling arbitrary JavaScript execution in the application context. Avoid toJSFunction() on user input and restrict expressions to a safe allowlist until a patched release is available.