Vulnerabilities/

Vega XSS via expression abusing vlSelectionTuples function array map calls in environments with satisfactory function ga

Severity:
High

Description

Applications meeting these two conditions are at risk of arbitrary JavaScript code execution, even if “safe mode” expressionInterpreter is used.

  1. Use vega in an application that attaches both vega library and a vega.View instance similar to the Vega Editor to the global window, or has any other satisfactory function gadgets in the global scope 2.

Recommendation

Update the vega-selections package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
vega-selections
Anything's wrong? Let us know Last updated on January 06, 2026