Vulnerability

CVE-2023-26486

mediumCVSS 3.1 6.1Published 4 Mar 2023

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. The Vega `scale` expression function has the ability to call arbitrary functions with a single controlled argument. The scale expression function passes a user supplied argument group to getScale, which is then used as if it were an internal context. The context.scales[name].value is accessed from group and called as a function back in scale. This can be exploited to escape the Vega expression sandbox in order to execute arbitrary JavaScript. This issue has been fixed in version 5.13.1.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Vega Functions Project vega-functions
  • Vega Project vega

Weakness type

References

  • github.com /vega/vega/releases/tag/v5.23.0
  • github.com /vega/vega/security/advisories/GHSA-4vq7-882g-wcg4
  • github.dev /vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/pa…
  • github.dev /vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/pa…
  • vega.github.io /editor/

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning