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).

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-2025-65959HIGH8.7
  • JavaScriptJavaScript
  • open-webui
NoYesDec 04, 2025
CVE-2025-66032HIGH8.7
  • JavaScriptJavaScript
  • @anthropic-ai/claude-code
NoYesDec 03, 2025
CVE-2025-65945HIGH7.5
  • JavaScriptJavaScript
  • jws
NoYesDec 04, 2025
CVE-2025-66404MEDIUM6.4
  • JavaScriptJavaScript
  • mcp-server-kubernetes
NoYesDec 03, 2025
CVE-2025-66479LOW1.8
  • JavaScriptJavaScript
  • @anthropic-ai/sandbox-runtime
NoYesDec 04, 2025

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