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
Remediation
References
https://github.com/vega/vega/issues/3018
https://github.com/vega/vega/pull/3019
https://github.com/vega/vega/releases/tag/v5.17.3
https://github.com/vega/vega/security/advisories/GHSA-r2qc-w64x-6j54
https://www.npmjs.com/package/vega
Related Vulnerabilities
CVE-2016-10692 Vulnerability in npm package haxeshim
CVE-2022-36437 Vulnerability in maven package com.hazelcast:hazelcast-enterprise
CVE-2018-16469 Vulnerability in npm package merge
CVE-2018-3770 Vulnerability in npm package markdown-pdf
CVE-2016-10689 Vulnerability in npm package windows-iedriver