Cross-site Scripting (XSS) Affecting vega.js package, versions <5.25.0+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.78% (57th 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-DEBIAN13-VEGAJS-14909111
  • published10 Jan 2026
  • disclosed4 Mar 2023

Introduced: 4 Mar 2023

CVE-2023-26486  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:13 vega.js to version 5.25.0+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:13 relevant fixed versions and status.

Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. The Vega scale expression function has the ability to call arbitrary functions with a single controlled argument. The scale expression function passes a user supplied argument group to getScale, which is then used as if it were an internal context. The context.scales[name].value is accessed from group and called as a function back in scale. This can be exploited to escape the Vega expression sandbox in order to execute arbitrary JavaScript. This issue has been fixed in version 5.13.1.

CVSS Base Scores

version 3.1