CVE-2020-28480
Prototype pollution in JointJS
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | jointjs | 3.3.0 |
References
- https://github.com/clientIO/joint/blob/master/src/util/util.mjs%23L150
- https://github.com/clientIO/joint/pull/1406
- https://nvd.nist.gov/vuln/detail/CVE-2020-28480
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1062037
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1062036
- https://snyk.io/vuln/SNYK-JS-JOINTJS-1024444