Vulnerability library
Security checkJanuary 06, 2026

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

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmvega-selections

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): **>= 6.0.0, < 6.1.2 < 5.6.3**
  • Patched version(s): **6.1.2 5.6.3**

References

Could your website be exposed too?

SmartScanner can check your website for Vega XSS via expression abusing vlSelectionTuples function array map calls in environments with satisfactory function ga and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 06, 2026