CVE-2023-26487Vega has cross-site scripting vulnerability in `lassoAppend` function
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.
What to do
Fixed builds are available from Debian, npm: see the table below for the fixed version per release.
Debian has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | vega.js | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | vega.js | Not affected vulnerable_code_not_present | ||
| Debian 14 | vega.js | Fixed | 5.25.0+ds+~cs5.3.0-1 | DEBIAN-CVE-2023-26487 |
| Debian 13 | vega.js | Fixed | 5.25.0+ds+~cs5.3.0-1 | DEBIAN-CVE-2023-26487 |
| Debian 12 | vega.js | Fix pending | DEBIAN-CVE-2023-26487 | |
| npm library | vega | Fixed | 5.23.0 | GHSA-w5m3-xh75-mp55 |
| npm library | vega-functions | Fixed | 5.13.1 | GHSA-w5m3-xh75-mp55 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- vega: affected: < 5.23.0
References
- https://github.com/vega/vega/security/advisories/GHSA-w5m3-xh75-mp55
- https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689
- https://github.com/vega/vega/releases/tag/v5.23.0
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.