CVE-2025-26619

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

Published Mar 27, 2025 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-8424 Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode expressionInterpeter
Github GHSA Github GHSA GHSA-rcw3-wmx7-cphr Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode expressionInterpeter
History
Type Values Removed Values Added
First Time appeared Vega-functions Project
Vega-functions Project vega-functions
Vega Project
Vega Project vega
CPEs cpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vega_project:vega:*:*:*:*:*:node.js:*:*
Vendors & Products Vega-functions Project
Vega-functions Project vega-functions
Vega Project
Vega Project vega
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode `expressionInterpeter`
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 5.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 27, 2025, 2:21 PM
Reserved
Feb 12, 2025, 2:51 PM
Status
Analyzed
Published
Mar 27, 2025, 2:15 PM
Modified
Jun 17, 2026, 9:02 AM