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

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/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.

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 Wed, 14 May 2025 12:15:16 +0000.