Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vega-selections
  4. ›
  5. CVE-2025-25304

CVE-2025-25304: Vega allows Cross-site Scripting via the vlSelectionTuples function

February 14, 2025 (updated October 31, 2025)

The vlSelectionTuples function can be used to call JavaScript functions, leading to XSS.

References

  • github.com/advisories/GHSA-mp7w-mhcv-673j
  • github.com/vega/vega
  • github.com/vega/vega/blob/b45cf431cd6c0d0c0e1567f087f9b3b55bc236fa/packages/vega-selections/src/selectionTuples.js
  • github.com/vega/vega/commit/9fb9ea07e27984394e463d286eb73944fa61411e
  • github.com/vega/vega/security/advisories/GHSA-mp7w-mhcv-673j
  • nvd.nist.gov/vuln/detail/CVE-2025-25304

Code Behaviors & Features

Detect and mitigate CVE-2025-25304 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.4.2

Fixed versions

  • 5.4.2

Solution

Upgrade to version 5.4.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/vega-selections/CVE-2025-25304.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Dec 2025 00:20:08 +0000.