{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-26486","published":"2023-03-04T00:15:15.473000Z","last_modified":"2026-06-17T05:43:26.550000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:vega-functions_project:vega-functions:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vega-functions_project","product":"vega-functions","version_end_excluding":"5.13.1"},{"criteria":"cpe:2.3:a:vega_project:vega:*:*:*:*:*:node.js:*:*","part":"a","vendor":"vega_project","product":"vega","version_end_excluding":"5.23.0"}],"cpes_truncated":false,"vendors":["vega-functions_project","vega_project"],"products":["vega-functions_project/vega-functions","vega_project/vega"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.00773,"percentile":0.52175,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4vq7-882g-wcg4","ecosystem":"npm","name":"vega","purl":"pkg:npm/vega","ranges":[{"introduced":"0","fixed":"5.23.0"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-4vq7-882g-wcg4","ecosystem":"npm","name":"vega-functions","purl":"pkg:npm/vega-functions","ranges":[{"introduced":"0","fixed":"5.13.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2023-26486/","html_en":"/en/cve/CVE-2023-26486/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-26486","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-26486"},"untrusted":{"vendor_name":"Vega-functions Project","product_name":"Vega-functions","desc_en":"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.","affected":[{"untrusted_vendor":"vega","untrusted_product":"vega","versions":[]}],"references":[{"url":"https://github.com/vega/vega/releases/tag/v5.23.0","tags":["Release Notes"]},{"url":"https://github.com/vega/vega/security/advisories/GHSA-4vq7-882g-wcg4","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/functions/scale.js#L36-L37","tags":["Permissions Required"]},{"url":"https://github.dev/vega/vega/blob/72b9b3bbf912212e7879b6acaccc84aff969ef1c/packages/vega-functions/src/scales.js#L6","tags":["Permissions Required"]},{"url":"https://vega.github.io/editor/#/url/vega/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykSArJQBWENgDsQAGhAATJJhSoA2qHFIEcNCAAaAZT0ACAApsAwtJDEkAGwZwIaZQEYAujMwAnJOIgAzNk8EJ1BMAE8cLXQAoIYbFBkkR3QNNgZxTEs4AA8cT21oWzgACgByP3SoUqlDcTibGsNgKAlMHMxUJsKbB07gCvEoPus7OE7ukvLK6sNSuBHihTYmYoAdEABNAHVsmyhxAEU2AFk9AGsAdnWASmuZ5tb2von8JoGhppH7TuVXShbfF4GFBMIF-hIIECQYEAL5wmHXeEIkAw1yomFAA","tags":["Exploit"]}]}}