# CVE-2020-26296: XSS in Vega

- Severity: High 8.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.71%, higher than 78% of CVEs (2026-12-02)
- Published: 2020-12-30T23:09:21.000Z
- Modified: 2026-09-10T03:49:13.774Z
- Also known as: GHSA-r2qc-w64x-6j54
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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

(As written by CVE List.)

## Affected

- vega vega: < 5.17.3
- vega (npm): before 5.17.3
- vega_project vega: before 5.17.3

## Every score

- GitHub_M: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.7 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://github.com/vega/vega/security/advisories/GHSA-r2qc-w64x-6j54> (third-party-advisory, web)
- <https://github.com/vega/vega/issues/3018> (third-party-advisory, web)
- <https://github.com/vega/vega/pull/3019> (third-party-advisory, web)
- <https://github.com/vega/vega/releases/tag/v5.17.3> (release-notes, third-party-advisory, web)
- <https://www.npmjs.com/package/vega> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26296> (advisory)

## Sources

- CVE List: [CVE-2020-26296](https://www.cve.org/CVERecord?id=CVE-2020-26296), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-r2qc-w64x-6j54](https://github.com/advisories/GHSA-r2qc-w64x-6j54), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2020-26296](https://nvd.nist.gov/vuln/detail/CVE-2020-26296), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-26296 · Whole record: https://cve.day/CVE-2020-26296.json · Rebuilt by cve.day 2026-11-25T22:57:56.621Z
