Cross-site Scripting (XSS) Affecting vega.js package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.24% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-VEGAJS-14909110
  • published10 Jan 2026
  • disclosed5 Jan 2026

Introduced: 5 Jan 2026

CVE-2025-66648  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 vega.js.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vega.js package and not the vega.js package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1