CVE-2023-26486CWE-79

Vega `scale` expression function cross site scripting

Medium · published March 3, 2023

CVSS v3.1
6.5
EPSS
1%
Percentile
55.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00775 · 55.3th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-03-03T23:48Z
EPSS history
Timeline
  • 03 MAR 23:48Z
    Vega `scale` expression function cross site scripting
    cvelistv5