Skip to content
OpenAdvisories
High · 7.3 CVE-2025-24372 EUVD-2025-0234GHSA-7pq5-qcp6-mcwwPYSEC-2026-1250

XSS vector in user uploaded images in group/org and user profiles in ckan

Published Feb 5, 2025 · Updated Feb 5, 2025 · Assigned by GitHub_M

Description

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`

Affected products

VendorProductAffectedFixed
ckan ckan < 2.10.7, >= 2.11.0, < 2.11.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI ckan < 2.10.7 2.10.7 GHSA-7pq5-qcp6-mcww
PyPI ckan >= 2.11.0, < 2.11.2 2.11.2 GHSA-7pq5-qcp6-mcww
PyPI ckan < 2.10.7 · >= 2.11.0, < 2.11.2 2.10.7, 2.11.2 PYSEC-2026-1250

References