XSS vector in user uploaded images in group/org and user profiles in ckan
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Using a specially crafted file, a user could potentially upload a file containing code that when executed could send arbitrary requests to the server. If that file was opened by an administrator, it could lead to escalation of privileges of the original submitter or other malicious actions. Users must have been registered to the site to exploit this vulnerability. This vulnerability has been fixed in CKAN 2.10.7 and 2.11.2. Users are advised to upgrade. On versions prior to CKAN 2.10.7 and 2.11.2, site maintainers can restrict the file types supported for uploading using the `ckan.upload.user.mimetypes` / `ckan.upload.user.types` and `ckan.upload.group.mimetypes` / `ckan.upload.group.types` config options. To entirely disable file uploads users can use: `ckan.upload.user.types = none`
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- 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 | before 2.10.7; 2.11.0 to before 2.11.2 | 2.10.7, 2.11.2 | Patch available | CNA |
| — | ckan (PyPI) | before 2.10.7 | 2.10.7 | Patch available | GHSA-7pq5-qcp6-mcww |
| — | ckan (PyPI) | 2.11.0 to before 2.11.2 | 2.11.2 | Patch available | GHSA-7pq5-qcp6-mcww |
- ckan Vendorckan Affected before 2.10.7; 2.11.0 to before 2.11.2 Fixed in 2.10.7, 2.11.2 Patch available CNA
- ckan (PyPI) Vendor— Affected before 2.10.7 Fixed in 2.10.7 Patch available GHSA-7pq5-qcp6-mcww
- ckan (PyPI) Vendor— Affected 2.11.0 to before 2.11.2 Fixed in 2.11.2 Patch available GHSA-7pq5-qcp6-mcww
Remediation
- Fix · CNA ckan (ckan) Fixed in 2.10.7, 2.11.2
- Fix · GHSA-7pq5-qcp6-mcww ckan (PyPI) Fixed in 2.10.7 Advisory →
- Fix · GHSA-7pq5-qcp6-mcww ckan (PyPI) Fixed in 2.11.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-24372
- 2026-10-03 Alias added: GHSA-7pq5-qcp6-mcww
References
Other 8
- https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww
- https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8
- https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes
- https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types
- https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes
- https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types
- https://github.com/ckan/ckan/commit/a4fc5e06634ed51d653ab819a7efc8e62f816f68
- https://github.com/ckan/ckan
More ckan vulnerabilities
- TI-2026-29863 CKAN: CSRF exemption primed by anonymous requests CVSS 3.1MEDIUM 6.1
- TI-2021-07973 CKAN - Stored Cross-Site Scripting (XSS) via SVG File Upload CVSS 3.1MEDIUM 5.4
- 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
Sources
- CVE-2025-24372 · CVE Program
- CVE-2025-24372 · NVD
- FIRST EPSS
- GHSA-7pq5-qcp6-mcww · 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