Vulnerability library
Security checkJanuary 06, 2026

`vega-functions` vulnerable to Cross-site Scripting via `setdata` function

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

High severitynpmvega-functions

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

For sites that allow users to supply untrusted user input, malicious use of an internal function (not part of the public API) could be used to run unintentional javascript (XSS).

Recommendation

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

  • Affected version(s): <= 6.1.0
  • Patched version(s): 6.1.1

References

Could your website be exposed too?

SmartScanner can check your website for `vega-functions` vulnerable to Cross-site Scripting via `setdata` function and gives you actionable findings to investigate.

Start a free scan

Related Issues

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