CVE-2023-26486: vega_project vega Cross-site Scripting
Vulnerability summary
CVE-2023-26486 is a medium (CVSS 6.5) Cross-site Scripting vulnerability in vega_project vega. EPSS estimates a 0.78% chance of exploitation in the next 30 days, higher than 55.2% of scored vulnerabilities. 2 public exploits are recorded.
Timeline
- 03-03-2023PublishedVulnerability first disclosed.
- 25-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · DebianEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.78%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
0.00 pp
From 0.78% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundVega
Maturity: poc
Exploit Reference (vega.github.io)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Npm2 products
- vega< 5.23.0
- vega-functions< 5.13.1
Debian1 product
- vega.jsAll versions (No fix recorded) | < 5.25.0+ds+~cs5.3.0-1
Vega1 product
- vega< 5.13.1
Vega_project1 product
- vega< 5.23.0
Vega-functions_project1 product
- vega-functions< 5.13.1
5 vendors · 6 products
References
8 links- github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4X Refsource CONFIRMWEBExploitThird Party Advisory
- github.com/vega/vegaPACKAGE