CVE-2025-66648
MEDIUM 6.1CVSS 3.1`vega-functions` vulnerable to Cross-site Scripting via `setdata` function
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.
- Published
- 5 Jan 2026
- Last modified
- 14 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-m9rg-mr6g-75gm
- Sources
- NVDJSONOSV GHSA-m9rg-mr6g-75gmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vega-functions_project | vega-functionscpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:* |
< 6.1.1 | 6.1.1 |
| OSV | npm | vega-functions | < 6.1.1 | 6.1.1 |
References
- https://github.com/vega/vega/security/advisories/GHSA-m9rg-mr6g-75gm · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-66648 · ADVISORY
- https://github.com/vega/vega · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jan 2026)