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
Metrics
CVSS 3.1 8.7/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| vega | vega | < 5.17.3 |
References
- https://github.com/vega/vega/issues/3018Third Party Advisory
- https://github.com/vega/vega/pull/3019Third Party Advisory
- https://github.com/vega/vega/releases/tag/v5.17.3Release Notes, Third Party Advisory
- https://github.com/vega/vega/security/advisories/GHSA-r2qc-w64x-6j54Third Party Advisory
- https://www.npmjs.com/package/vegaThird Party Advisory
- https://github.com/vega/vega/issues/3018Third Party Advisory
- https://github.com/vega/vega/pull/3019Third Party Advisory
- https://github.com/vega/vega/releases/tag/v5.17.3Release Notes, Third Party Advisory
- https://github.com/vega/vega/security/advisories/GHSA-r2qc-w64x-6j54Third Party Advisory
- https://www.npmjs.com/package/vegaThird Party Advisory
Timeline
- Published
- Dec 30, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified