6.9

CVE-2025-25304: vega Cross-site Scripting

CVSS: 6.9v4.0MediumDeferred
AliasesUBUNTU-CVE-2025-25304DEBIAN-CVE-2025-25304GHSA-mp7w-mhcv-673j
Published 14-02-2025Last modified 14-02-2025

Vulnerability summary

CVE-2025-25304 is a medium (CVSS 6.9) Cross-site Scripting vulnerability in vega. EPSS estimates a 0.65% chance of exploitation in the next 30 days, higher than 50.5% of scored vulnerabilities.

Overall risk
28/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.9/10
010
Medium · v4.0 (CVE.org)
EPSS score
0.65%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 14-02-2025
    PublishedVulnerability first disclosed.
  2. 14-02-2025
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.65%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

0.00 pp

From 0.65% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.65%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Npm2 products
  • vega< 5.26.0
  • vega-selections< 5.4.2
Debian1 product
  • vega.jsAll versions (No fix recorded) | < 5.28.0+ds+~cs5.3.0-1
Ubuntu1 product
  • vega.jsAll versions (No fix recorded)
Vega1 product

4 vendors · 5 products

References

8 links