GitHub Advisory Database
GHSA-qwp9-52h8-xgg8
Prototype pollution in JointJS
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | jointjs | All versions before 3.3.0 (fixed in 3.3.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28480
- https://github.com/clientIO/joint/pull/1406
- https://github.com/clientIO/joint/blob/master/src/util/util.mjs%23L150
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1062037
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1062036
- https://snyk.io/vuln/SNYK-JS-JOINTJS-1024444