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/security/advisories/GHSA-r2qc-w64x-6j54
https://www.npmjs.com/package/vega
https://github.com/vega/vega/issues/3018
https://github.com/vega/vega/releases/tag/v5.17.3
https://github.com/vega/vega/pull/3019
Related Vulnerabilities
CVE-2019-11069 Vulnerability in npm package sequelize
CVE-2016-2402 Vulnerability in maven package com.squareup.okhttp3:okhttp
CVE-2023-35141 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2022-41957 Vulnerability in npm package muhammara
CVE-2017-6056 Vulnerability in maven package org.apache.tomcat:tomcat-coyote