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-46751 Vulnerability in maven package org.apache.ivy:ivy
CVE-2020-13947 Vulnerability in maven package org.apache.activemq:activemq-web-console
CVE-2023-26487 Vulnerability in maven package org.webjars.npm:vega
CVE-2022-3509 Vulnerability in maven package com.google.protobuf:protobuf-javalite
CVE-2023-24057 Vulnerability in maven package ca.uhn.hapi.fhir:org.hl7.fhir.validation