Description
vega-util prior to 1.13.1 allows manipulation of object prototype. The 'vega.mergeConfig' method within vega-util could be tricked into adding or modifying properties of the Object.prototype.
Remediation
References
https://github.com/vega/vega/commit/8f33a0b5170d7de4f12fc248ec0901234342367b
https://snyk.io/vuln/SNYK-JS-VEGAUTIL-559223
Related Vulnerabilities
CVE-2019-1003050 Vulnerability in maven package org.jenkins-ci.main:jenkins-core
CVE-2018-1000129 Vulnerability in maven package org.jolokia:jolokia-core
CVE-2011-5064 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2020-36629 Vulnerability in npm package httpster
CVE-2023-27495 Vulnerability in npm package @fastify/csrf-protection