CVE-2023-26486 MEDIUM

CVE-2023-26486: Vega `scale` expression function cross site scripting

Vendor Vega
Product vega
Weakness CWE-79 · XSS
Published March 3, 2023
Last update February 25, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

March 3, 2023 CVE published
February 25, 2025 Record updated

Related vulnerabilities

04Related CVE