{"id":"CVE-2025-66648","published":"2026-01-05T21:33:14Z","modified":"2026-01-06T15:40:18Z","title":"`vega-functions` vulnerable to Cross-site Scripting via `setdata` function","vendor":"vega","product":"vega","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00226,"percentile":0.13523,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/vega/vega/security/advisories/GHSA-m9rg-mr6g-75gm","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":2.7},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"vega","affectedVersions":[{"vendor":"vega","product":"vega","versions":["< 6.1.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-06T15:40:01.643885Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vega-functions","vulnerableRanges":["<6.1.1"],"patched":["6.1.1"],"from":["GHSA-m9rg-mr6g-75gm"],"provenance":"source"}],"summary":{"text":"The vega-functions component of the Vega product, which supplies function implementations for the Vega expression language, contains a cross-site scripting flaw in an internal function (not part of the public API) that can be abused via the setdata function, affecting versions prior to 6.1.1. An attacker who can supply untrusted input to a site using the affected library can run unintended JavaScript in the victim's browser, with no authentication required and no user interaction needed, as the attack is network-reachable and works under the default configuration.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:08Z"},"euvd":{"id":"EUVD-2025-206236","exploited":false,"provenance":"source"}}