CVE-2025-66648

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

Published Jan 5, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-m9rg-mr6g-75gm `vega-functions` vulnerable to Cross-site Scripting via `setdata` function
History
Type Values Removed Values Added
First Time appeared Vega-functions Project
Vega-functions Project vega-functions
CPEs cpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:*
Vendors & Products Vega-functions Project
Vega-functions Project vega-functions
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Vega Project
Vega Project vega-functions
Vendors & Products Vega Project
Vega Project vega-functions
Type Values Removed Values Added
Description 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.
Title `vega-functions` vulnerable to Cross-site Scripting via `setdata` function
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 6, 2026, 3:40 PM
Reserved
Dec 5, 2025, 8:23 PM
Status
Analyzed
Published
Jan 5, 2026, 10:15 PM
Modified
Oct 14, 2026, 7:10 PM
Severity
Important
Public date
Jan 5, 2026, 9:33 PM