CVE-2025-26619
JavaScript vulnerability analysis and mitigation

Overview

Vega, a visualization grammar for creating, saving, and sharing interactive visualization designs, was found to contain a Cross-Site Scripting (XSS) vulnerability (CVE-2025-26619). The vulnerability affects Vega versions 5.30.0 and lower, and Vega-functions versions 5.15.0 and lower, where it was possible to call JavaScript functions from the Vega expression language that were not meant to be supported (GitHub Advisory).

Technical details

The vulnerability exists in the filter property of a select parameter which exposes the browser's Window object via event.view, allowing arbitrary code execution through scale(event.view.setTimeout, '[code payload here]'). The issue stems from the scale$2 function only checking if a scale is registered when specified as a string; if a function is passed to scale(), it is invoked unconditionally (Vega Issue).

Impact

This vulnerability could allow attackers to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, data theft, or other malicious actions when users interact with affected Vega visualizations (GitHub Advisory).

Exploitability

The vulnerability has been demonstrated through proof-of-concept code that shows how an attacker can exploit the issue using the filter property of a select parameter. The issue was initially reported in November 2024 and has been tracked through multiple issue reports (Vega Issue, Vega-Lite Issue).

Mitigation and workarounds

The vulnerability has been patched in Vega version 5.31.0 and Vega-functions version 5.16.0. For users unable to upgrade immediately, two workarounds are available: 1) Run Vega without vega.expressionInterpreter (though this mode is slower than the default), or 2) Use the interpreter in CSP safe mode (Content Security Policy), which prevents arbitrary Javascript execution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-54155HIGH7.7
  • JavaScript logoJavaScript
  • node-opcua
NoNoAug 20, 2026
CVE-2026-54156HIGH7.5
  • JavaScript logoJavaScript
  • node-opcua
NoYesAug 20, 2026
CVE-2026-55451MEDIUM6.9
  • JavaScript logoJavaScript
  • gettext-converter
NoYesAug 20, 2026
CVE-2026-54150MEDIUM6.9
  • JavaScript logoJavaScript
  • next-video
NoYesAug 20, 2026
GHSA-ghvf-qf6h-g8x5HIGHN/A
  • JavaScript logoJavaScript
  • @nocobase/server
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management