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

CVE-2025-66648: `vega-functions` vulnerable to Cross-site Scripting via `setdata` function

January 5, 2026 (updated January 6, 2026)

For sites that allow users to supply untrusted user input, malicious use of an internal function (not part of the public API) could be used to run unintentional javascript (XSS).

References

  • github.com/advisories/GHSA-m9rg-mr6g-75gm
  • github.com/vega/vega
  • github.com/vega/vega/security/advisories/GHSA-m9rg-mr6g-75gm
  • nvd.nist.gov/vuln/detail/CVE-2025-66648

Code Behaviors & Features

Detect and mitigate CVE-2025-66648 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 6.1.1

Fixed versions

  • 6.1.1

Solution

Upgrade to version 6.1.1 or above.

Impact 7.2 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/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-functions/CVE-2025-66648.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:36:46 +0000.