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-2022-25875 Vulnerability in npm package svelte
CVE-2018-11761 Vulnerability in maven package org.apache.tika:tika-core
CVE-2020-5398 Vulnerability in maven package org.springframework:spring-web
CVE-2022-23461 Vulnerability in npm package jodit
CVE-2022-0508 Vulnerability in npm package @peertube/embed-api