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-2021-30246 Vulnerability in maven package org.webjars.bower:jsrsasign
CVE-2022-25918 Vulnerability in npm package shescape
CVE-2016-6345 Vulnerability in maven package org.jboss.resteasy:resteasy-jaxrs
CVE-2022-24898 Vulnerability in maven package org.xwiki.commons:xwiki-commons-xml
CVE-2020-6506 Vulnerability in npm package react-native-webview