CVE-2023-26486

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
04/03/2023
Last modified:
09/03/2023

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:* 5.13.1 (excluding)
cpe:2.3:a:vega_project:vega:*:*:*:*:*:node.js:*:* 5.23.0 (excluding)