Description
Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In `vega` 5.30.0 and lower and in `vega-functions` 5.15.0 and lower , it was possible to call JavaScript functions from the Vega expression language that were not meant to be supported. The issue is patched in `vega` `5.31.0` and `vega-functions` `5.16.0`. Some workarounds are available. Run `vega` without `vega.expressionInterpreter`. This mode is not the default as it is slower. Alternatively, using the interpreter described in CSP safe mode (Content Security Policy) prevents arbitrary Javascript from running, so users of this mode are not affected by this vulnerability.
References (4)
Core 4
Core References
Issue Tracking x_refsource_misc
https://github.com/vega/vega-lite/issues/9469
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/vega/vega/security/advisories/GHSA-rcw3-wmx7-cphr
Exploit, Issue Tracking x_refsource_misc
https://github.com/vega/vega/issues/3984
Patch x_refsource_misc
https://github.com/vega/vega/commit/8fc129a6f8a11e96449c4ac0f63de0e5bfc7254c
Scores
CVSS v3
6.1
EPSS
0.0042
EPSS Percentile
61.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (4)
npm/vega
0 - 5.31.0npm
npm/vega-functions
0 - 5.16.0npm
vega-functions_project/vega-functions
< 5.16.0
vega_project/vega
< 5.31.0
Published
Mar 27, 2025
Tracked Since
Feb 18, 2026