Description
The package jointjs before 3.3.0 are vulnerable to Prototype Pollution via util.setByPath (https://resources.jointjs.com/docs/jointjs/v3.2/joint.htmlutil.setByPath). The path used the access the object's key and set the value is not properly sanitized, leading to a Prototype Pollution.
Remediation
References
https://github.com/clientIO/joint/blob/master/src/util/util.mjs%23L150
https://github.com/clientIO/joint/pull/1406
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1062037
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1062036
https://snyk.io/vuln/SNYK-JS-JOINTJS-1024444
Related Vulnerabilities
CVE-2017-18214 Vulnerability in maven package org.webjars.bowergithub.moment:moment
CVE-2018-3750 Vulnerability in npm package deep-extend
CVE-2021-23413 Vulnerability in npm package jszip
CVE-2020-1697 Vulnerability in maven package org.keycloak:keycloak-server-spi-private
CVE-2019-10318 Vulnerability in maven package org.jenkins-ci.plugins:azure-ad