CVE-2021-25967Okfn Ckan
Medium 5.4
Follow: this CVE · Okfn · Okfn Ckan We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 45
- Auth required
- Yes
- Published
- Dec 1, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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
What to do
- Apply the vendor's security update for Ckan.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ckan |
≥ 2.9.0 < 2.10.0 |
2.10.0 |
pip install "ckan>=2.10.0" |
| PyPI | ckan |
≥ 2.9.0 < 2.9.4 |
2.9.4 |
pip install "ckan>=2.9.4" |
Per OSV / GitHub Advisories (GHSA-6w9p-88qg-p3g3, PYSEC-2021-841). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| okfn | ckan | ≥ 2.9.0 ≤ 2.9.3 |
Official sources
References
Links published by the sources. Open them with care.
- www.whitesourcesoftware.com Patch Third Party Advisory