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


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.52% (46th 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-14909107
  • published10 Jan 2026
  • disclosed27 Mar 2025

Introduced: 27 Mar 2025

CVE-2025-27793  (opens in a new tab)
CWE-79  (opens in a new tab)
CWE-87  (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 prior to version 5.32.0, corresponding to vega-functions prior to version 5.17.0, users running Vega/Vega-lite JSON definitions could run unexpected JavaScript code when drawing graphs, unless the library was used with the vega-interpreter. Vega version 5.32.0 and vega-functions version 5.17.0 fix the issue. As a workaround, use vega with expression interpreter.