Skip to main content
VulnerabilityPublished Updated

CVE-2025-25304: Vega.js · Vega is a visualization grammar, a declarative format for creating, saving, and sharing

Affects vega.jsSource GCVE Database

0
Compare

Not known to be exploited · CVSS 6.9 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Feb 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10vega.jspkg:deb/ubuntu/vega.js?arch=source&distro=stonkingOther threatsAffected
  • =5.28.0+ds+~cs5.3.0-2
  • =5.33.1+ds+~cs5.3.0-4
Fixed in–
Ubuntu 26.04 LTSvega.jspkg:deb/ubuntu/vega.js?arch=source&distro=resoluteOther threatsAffected
  • =5.28.0+ds+~cs5.3.0-1
  • =5.28.0+ds+~cs5.3.0-2
Fixed in–
Ubuntu 25.10vega.jspkg:deb/ubuntu/vega.js?arch=source&distro=questingOther threatsAffected
  • =5.28.0+ds+~cs5.3.0-1
Fixed in–
Ubuntu 24.04 LTSvega.jspkg:deb/ubuntu/vega.js?arch=source&distro=nobleOther threatsAffected
  • =5.25.0+ds+~cs5.3.0-2
  • =5.25.0+ds+~cs5.3.0-5
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…