Description
Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In Vega prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the `vega-interpreter`. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use `vega` with expression interpreter.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| vega | vega | < 5.32.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | vega.js | 5.33.1+ds+~cs5.3.0-1 | — |
| Debian 13 | vega.js | No fix yet | — |
| Debian 12 | vega.js | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | vega.js | No fix yet | — |
| Ubuntu 26.04 LTS | vega.js | No fix yet | — |
| Ubuntu 25.10 | vega.js | No fix yet | — |
| Ubuntu 24.04 LTS | vega.js | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | vega | < 5.32.0 | 5.32.0 | GHSA-963h-3v39-3pqf |
| npm | vega-functions | < 5.17.0 | 5.17.0 | GHSA-963h-3v39-3pqf |