Skip to main content
← All vulnerabilities
CVE-2023-26486GHSA-4VQ7-882G-WCG4

Vega `scale` expression function cross site scripting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.13.1, 5.23.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • vega vega

    fixed in 5.13.1

  • vega-functionsnpm

    fixed in 5.13.1

  • veganpm

    fixed in 5.23.0

References 5

GitHub · vega/vega

github.dev

vega.github.io