{"cve":"CVE-2023-26487","nvd":{"published":"2023-03-04T00:15:15.563","modified":"2026-06-17T05:43:26.700","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/vega/vega/commit/01adb034f24727d3bb321bbbb6696a7f4cd91689","https://github.com/vega/vega/releases/tag/v5.23.0","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"],"products":["vega-functions_project:vega-functions","vega_project:vega"],"source":"nvd","synced_at":"2026-10-19T21:37:41.955480748+00:00"},"epss":{"cve":"CVE-2023-26487","score":0.00806,"percentile":0.56818,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w5m3-xh75-mp55","url":"https://osv.dev/vulnerability/GHSA-w5m3-xh75-mp55","summary":"Vega has Cross-site Scripting vulnerability in `lassoAppend` function","modified":"2026-09-10T03:49:57.054220465Z","packages":[{"ecosystem":"npm","name":"vega","purl":"pkg:npm/vega","ranges":["<5.23.0"],"fixed":["5.23.0"]},{"ecosystem":"npm","name":"vega-functions","purl":"pkg:npm/vega-functions","ranges":["<5.13.1"],"fixed":["5.13.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}