CKAN - Stored Cross-Site Scripting (XSS) via SVG File Upload
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| ckan | ckan | 2.9.0 and later; up to 2.9.3 | — | No fix listed | CNA |
| — | ckan (PyPI) | 2.9.0 to before 2.10.0 | 2.10.0 | Patch available | GHSA-6w9p-88qg-p3g3 |
- ckan Vendorckan Affected 2.9.0 and later; up to 2.9.3 Fixed in — No fix listed CNA
- ckan (PyPI) Vendor— Affected 2.9.0 to before 2.10.0 Fixed in 2.10.0 Patch available GHSA-6w9p-88qg-p3g3
Remediation
- Fix · GHSA-6w9p-88qg-p3g3 ckan (PyPI) Fixed in 2.10.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-25967
- 2026-10-03 Alias added: GHSA-6w9p-88qg-p3g3
References
Advisory 2
More Ckan vulnerabilities
- TI-2026-29863 CKAN: CSRF exemption primed by anonymous requests CVSS 3.1MEDIUM 6.1
- TI-2023-15615 CKAN remote code execution and private information access via crafted resource ids CVSS 3.1CRITICAL 9.8
- TI-2026-30410 CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql` CVSS 4.0HIGH 8.3
- TI-2023-08919 CKAN is vulnerable to session secret shared across instances using Docker images CVSS 3.1HIGH 8.6
- TI-2023-15972 Excessive permissions for ckan user CVSS 3.1HIGH 8.8
- TI-2022-21443 CKAN through 2.9.6 account takeovers by unauthenticated users when an existing user id is… CVSS 3.1HIGH 8.8
Sources
- CVE-2021-25967 · CVE Program
- CVE-2021-25967 · NVD
- FIRST EPSS
- GHSA-6w9p-88qg-p3g3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences