medium5.4
CVE-2021-25967
Cross-site Scripting in CKAN
Impact
In CKAN, versions 2.9.0 to 2.9.3 are affected by a stored XSS vulnerability via SVG file upload of users’ profile picture. This allows low privileged application users to store malicious scripts in their profile picture. These scripts are executed in a victim’s browser when they open the malicious profile picture
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | ckan | >= 2.9.0, < 2.10.0 | 2.10.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Okfn | Ckan | from 2.9.0 through 2.9.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25967
- https://github.com/advisories/GHSA-6w9p-88qg-p3g3
- https://nvd.nist.gov/vuln/detail/CVE-2021-25967
- https://github.com/ckan/ckan/pull/6477
- https://github.com/ckan/ckan/commit/5a46989c0a4f2c2873ca182c196da83b82babd25
- https://github.com/pypa/advisory-database/tree/main/vulns/ckan/PYSEC-2021-841.yaml