Skip to content
OpenAdvisories
Medium · 5.3 CVE-2025-26619 EUVD-2025-8424GHSA-rcw3-wmx7-cphr

Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode `expressionInterpeter`

Published Mar 27, 2025 · Updated Mar 27, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
vega vega < 5.31.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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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

EcosystemPackageAffectedFixedRecord
npm vega < 5.31.0 5.31.0 GHSA-rcw3-wmx7-cphr
npm vega-functions < 5.16.0 5.16.0 GHSA-rcw3-wmx7-cphr

References