CVEfocus › CVE database › CVE-2025-66648

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

CVSS 7.2 HighEPSS 0.3% (higher than 19% of CVEs)Published 2026-01-05Updated 2026-01-06Assigner: GitHub_M

vega-functions provides function implementations for the Vega expression language. Prior to version 6.1.1, 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). This issue is fixed in vega-functions `6.1.1`. There is no workaround besides upgrading. Using `vega.expressionInterpreter` as described in CSP safe mode does not prevent this issue.

CWE-79

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
3Fix pending
2Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10vega.jsFix pendingUBUNTU-CVE-2025-66648
Ubuntu 26.04vega.jsUnder investigationUBUNTU-CVE-2025-66648
Ubuntu 25.10vega.jsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-66648
Ubuntu 24.04vega.jsUnder investigationUBUNTU-CVE-2025-66648
Debian 14vega.jsFixed5.33.1+ds+~cs5.3.0-2DEBIAN-CVE-2025-66648
Debian 13vega.jsFix pendingDEBIAN-CVE-2025-66648
Debian 12vega.jsFix pendingDEBIAN-CVE-2025-66648
npm libraryvega-functionsFixed6.1.1GHSA-m9rg-mr6g-75gm

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.