GHSA-mp7w-mhcv-673j · Severity: medium · Ecosystem: npm — Vega allows Cross-site Scripting via the vlSelectionTuples function
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.
Conclusion & alert: CVE-2025-25304 is rated Moderate Risk (43.4/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.60%). Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.18% | 0.60% | +0.42% |
| 2 | 2026-03-25 | 0.39% | 0.18% | -0.20% |
| 3 | 2025-12-11 | — | 0.39% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.9 | 4.0 | MEDIUM |
|
— | — | [email protected] |
GHSA-mp7w-mhcv-673j · Severity: medium · Ecosystem: npm — Vega allows Cross-site Scripting via the vlSelectionTuples function
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2025-25304 not yet assigned priority: Debian including 1 source packages (vega.js), 4 status rows across 4 suites (bookworm, forky, sid, trixie): resolved 3, open 1. | https://security-tracker.debian.org/tracker/CVE-2025-25304 |
suse
|
medium | — | https://www.suse.com/security/cve/CVE-2025-25304/ |
ubuntu
|
medium | CVE-2025-25304 medium priority: Ubuntu including 1 source packages (vega.js), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): needs-triage 3, DNE 2, ignored 2. | https://ubuntu.com/security/CVE-2025-25304 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| No affected products in dataset. | |||