Vulnerability library
Security checkMarch 09, 2023

Vega Expression Language `scale` expression function Cross Site Scripting - vega

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

Medium severitynpmvega

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

The Vega scale expression function has the ability to call arbitrary functions with a single controlled argument. This can be exploited to escape the Vega expression sandbox in order to execute arbitrary JavaScript.

Recommendation

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

  • Affected version(s): < 5.23.0
  • Patched version(s): 5.23.0

References

Could your website be exposed too?

SmartScanner can check your website for Vega Expression Language `scale` expression function Cross Site Scripting - vega and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated March 09, 2023