CVE-2025-26619CWE-79

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

Medium · published March 27, 2025

CVSS v4.0
5.3
EPSS
0%
Percentile
27.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS
0.00354 · 27.9th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-03-27T13:51Z
EPSS history
Timeline
  • 27 MAR 13:51Z
    Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode `expressionInterpeter`
    cvelistv5