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-2020-19697 Vulnerability in npm package editor.md
CVE-2021-21391 Vulnerability in npm package @ckeditor/ckeditor5-font
CVE-2016-1000343 Vulnerability in maven package org.bouncycastle:bcprov-jdk15on
CVE-2020-6831 Vulnerability in npm package electron
CVE-2018-1262 Vulnerability in maven package org.cloudfoundry.identity:cloudfoundry-identity-uaa