{"schemaVersion":3,"id":"CVE-2020-26296","aliases":["GHSA-r2qc-w64x-6j54"],"status":"published","duplicateOf":null,"title":null,"description":"Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive visualization designs. Vega in an npm package. In Vega before version 5.17.3 there is an XSS vulnerability in Vega expressions. Through a specially crafted Vega expression, an attacker could execute arbitrary javascript on a victim's machine. This is fixed in version 5.17.3","dates":{"published":"2020-12-30T23:10:16.000Z","modified":"2024-08-04T15:56:04.125Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.7,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":5.9,"impact":9.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.7,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":3.5,"severity":"low","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01713,"percentile":0.77172,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.01999999999999988,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.01693},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01713,"percentile":0.77172}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01693,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01713,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.01713,"percentile":0.77172}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"Npm","product":"vega","name":"vega","label":"vega","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/vega","purlType":"npm","versions":[{"text":"< 5.17.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.17.3","eol":null,"hubHref":null},{"vendor":"vega_project","product":"vega","name":"vega","label":"vega","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.17.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.17.3","eol":null,"hubHref":"/vendor/vega_project/vega"},{"vendor":"vega","product":"vega","name":"vega","label":"vega","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.17.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.17.3","eol":null,"hubHref":"/vendor/vega/vega"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/vega/vega/security/advisories/GHSA-r2qc-w64x-6j54","label":"github.com/vega/vega/security/advisories/GHSA-r2qc-w64x-6j54","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Third Party Advisory"]},{"url":"https://github.com/vega/vega/issues/3018","label":"github.com/vega/vega/issues/3018","hostname":"github.com","tags":["X Refsource MISC","WEB","Third Party Advisory"]},{"url":"https://github.com/vega/vega/pull/3019","label":"github.com/vega/vega/pull/3019","hostname":"github.com","tags":["X Refsource MISC","WEB","Third Party Advisory"]},{"url":"https://github.com/vega/vega/releases/tag/v5.17.3","label":"github.com/vega/vega/releases/tag/v5.17.3","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes","Third Party Advisory"]},{"url":"https://www.npmjs.com/package/vega","label":"www.npmjs.com/package/vega","hostname":"www.npmjs.com","tags":["X Refsource MISC","WEB","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-26296","label":"nvd.nist.gov/vuln/detail/CVE-2020-26296","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-12-30T23:10:16.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T15:56:04.125Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":35,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T11:34:08.129Z","stale":false,"partial":false}}