CVE-2025-26619
March 27, 2025
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.
Affected Packages
https://github.com/vega/vega.git (GITHUB):
Affected version(s) >=v1.0.0 <v5.31.0Fix Suggestion:
Update to version v5.31.0vega-functions (NPM):
Affected version(s) >=5.0.0 <5.16.0Fix Suggestion:
Update to version 5.16.0vega-functions (NPM):
Affected version(s) >=5.0.0 <5.16.0Fix Suggestion:
Update to version 5.16.0vega (NPM):
Affected version(s) >=1.0.0 <5.31.0Fix Suggestion:
Update to version 5.31.0vega (NPM):
Affected version(s) >=1.0.0 <5.31.0Fix Suggestion:
Update to version 5.31.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.24