XSS in Vega
CVE-2025-26619
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (25.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 25th percentile — 25.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Vega — versions < 5.31.0
- Vega-Functions Project
- Vega Project
Weakness classification (CWE)
References
- github.com/vega/vega/security/advisories/GHSA-rcw3-wmx7-cphr (Exploit, Vendor Advisory)
- github.com/vega/vega-lite/issues/9469 (Issue Tracking)
- github.com/vega/vega/issues/3984 (Exploit, Issue Tracking)
- github.com/vega/vega/commit/8fc129a6f8a11e96449c4ac0f63de0e5bfc7254c (Patch)
Frequently asked questions
- What is CVE-2025-26619?
- CVE-2025-26619 is a medium-severity vulnerability in Vega, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2025-03-27.
- How severe is CVE-2025-26619?
- Medium severity. CVSS v3 base score is 6.1 out of 10.