XSS in Vega
CVE-2023-26486
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.008 (54.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 54th percentile — 54.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: 0.000
Affected products
- Vega — versions < 5.13.1
- Vega-Functions Project
- Vega Project
Weakness classification (CWE)
References
- github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4 (Exploit, Third Party Advisory)
- github.com/vega/vega/releases/tag/v5.23.0 (Release Notes)
- github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/veg… (Permissions Required)
- github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/veg… (Permissions Required)
- vega.github.io/editor/ (Exploit)
Frequently asked questions
- What is CVE-2023-26486?
- CVE-2023-26486 is a medium-severity vulnerability in Vega, classified under Cross-site Scripting. CVSS score: 6.5/10. Published 2023-03-04.
- How severe is CVE-2023-26486?
- Medium severity. CVSS v3 base score is 6.5 out of 10.