CVE-2025-25304: medium-severity vulnerability in vega
Vega allows Cross-site Scripting via the vlSelectionTuples function
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.9epss 0.7%
Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. Prior to version 5.26.0 of vega and 5.4.2 of vega-selections, the `vlSelectionTuples` function can be used to call JavaScript functions, leading to cross-site scripting.`vlSelectionTuples` calls multiple functions that can be controlled by an attacker, including one call with an attacker-controlled argument. This can be used to call `Function()` with arbitrary JavaScript and the resulting function can be called with `vlSelectionTuples` or using a type coercion to call `toString` or `valueOf`. Version 5.26.0 of vega and 5.4.2 of vega-selections fix this issue.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Affected products
vega · vegaRelated CVEs — vega
In the same product, most dangerous first.
CVE-2020-26296HIGHXSS in VegaEPSS 1.7%CVE-2023-26487MEDIUMVega has cross-site scripting vulnerability in `lassoAppend` functionEPSS 0.8%CVE-2023-26486MEDIUMVega `scale` expression function cross site scriptingEPSS 0.8%CVE-2025-27793MEDIUMVega vulnerable to Cross-site Scripting via RegExp.prototype[@@replace]EPSS 0.5%CVE-2025-65110HIGHVega Cross-Site Scripting (XSS) via expression abusing vlSelectionTuples function array map calls in environments with satisfactory function gadgets in the global scopeEPSS 0.5%CVE-2025-59840HIGHVega Cross-Site Scripting (XSS) via expressions abusing toString calls in environments using the VEGA_DEBUG global variableEPSS 0.4%