CVE-2023-26487: vega_project vega Cross-site Scripting
Vulnerability summary
CVE-2023-26487 is a medium (CVSS 6.5) Cross-site Scripting vulnerability in vega_project vega. EPSS estimates a 0.81% chance of exploitation in the next 30 days, higher than 56.3% of scored vulnerabilities. 1 public exploit is 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.`lassoAppend' function accepts 3 arguments and internally invokes `push` function on the 1st argument specifying array consisting of 2nd and 3rd arguments as `push` call argument. The type of the 1st argument is supposed to be an array, but it's not enforced. This makes it possible to specify any object with a `push` function as the 1st argument, `push` function can be set to any function that can be access via `event.view` (no all such functions can be exploited due to invalid context or signature, but some can, e.g. `console.log`). The issue is that`lassoAppend` doesn't enforce proper types of its arguments. This issue opens various XSS vectors, but exact impact and severity depends on the environment (e.g. Core JS `setImmediate` polyfill basically allows `eval`-like functionality). This issue was patched in 5.23.0.
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.81%
Chance of exploitation in the next 30 days
Percentile
56%
Versus all other CVEs
30-day change
0.00 pp
From 0.81% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundVega
Maturity: poc
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.23.0
Vega_project1 product
- vega< 5.23.0
Vega-functions_project1 product
- vega-functions< 5.13.1
5 vendors · 6 products
References
6 links- github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55X Refsource CONFIRMWEBExploitThird Party Advisory
- github.com/vega/vegaPACKAGE