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-2016-4974 Vulnerability in maven package org.apache.qpid:qpid-jms-client
CVE-2020-28279 Vulnerability in npm package flattenizer
CVE-2021-23411 Vulnerability in npm package anchorme
CVE-2018-3721 Vulnerability in maven package org.webjars.bowergithub.lodash:lodash
CVE-2022-1330 Vulnerability in maven package org.webjars.bower:fullpage