Cross-site Scripting (XSS) Affecting vega.js package, versions <5.33.1+ds+~cs5.3.0-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.35% (32nd 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-DEBIANUNSTABLE-VEGAJS-14909122
  • published10 Jan 2026
  • disclosed27 Mar 2025

Introduced: 27 Mar 2025

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

How to fix?

Upgrade Debian:unstable vega.js to version 5.33.1+ds+~cs5.3.0-1 or higher.

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:unstable relevant fixed versions and status.

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. In vega 5.30.0 and lower and in vega-functions 5.15.0 and lower , it was possible to call JavaScript functions from the Vega expression language that were not meant to be supported. The issue is patched in vega 5.31.0 and vega-functions 5.16.0. Some workarounds are available. Run vega without vega.expressionInterpreter. This mode is not the default as it is slower. Alternatively, using the interpreter described in CSP safe mode (Content Security Policy) prevents arbitrary Javascript from running, so users of this mode are not affected by this vulnerability.

CVSS Base Scores

version 3.1