{"id":"CVE-2025-24372","published":"2025-02-05T18:12:09Z","modified":"2025-02-05T19:27:38Z","title":"XSS vector in user uploaded images in group/org and user profiles in ckan","vendor":"ckan","product":"ckan","tier":"tail","description":{"text":"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`","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00469,"percentile":0.41498,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8","tags":["x_refsource_MISC"]},{"url":"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes","tags":["x_refsource_MISC"]},{"url":"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types","tags":["x_refsource_MISC"]},{"url":"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes","tags":["x_refsource_MISC"]},{"url":"https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types","tags":["x_refsource_MISC"]}],"priority":{"score":13.4,"factors":[{"name":"EPSS percentile","points":8.3},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"ckan","affectedVersions":[{"vendor":"ckan","product":"ckan","versions":["< 2.10.7",">= 2.11.0, < 2.11.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-05T19:27:18.347178Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ckan","vulnerableRanges":["<2.10.7",">=2.11.0, <2.11.2"],"patched":["2.10.7","2.11.2"],"from":["GHSA-7pq5-qcp6-mcww","PYSEC-2026-1250"],"provenance":"source"}],"summary":{"text":"The CKAN data management system has a cross-site scripting flaw in how user-uploaded images for group, organisation and user profiles are handled, allowing a crafted file to carry script content. An attacker with a registered account and network access could upload such a file, and exploitation requires user interaction, specifically an administrator opening the file, which could lead to privilege escalation for the original submitter or other malicious actions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:19Z"},"euvd":{"id":"EUVD-2025-0234","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-ckan-cve-2021-25967","parents":[{"from":"CVE-2021-25967","to":"CVE-2025-24372","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["ckan/lib/uploader.py"],"commits":["https://github.com/ckan/ckan/commit/5a46989c0a4f2c2873ca182c196da83b82babd25","https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8","https://github.com/ckan/ckan/commit/a4fc5e06634ed51d653ab819a7efc8e62f816f68"],"basis":"shared function","functions":["upload"]}]}],"packageHistory":[{"cve":"CVE-2024-41674","published":"2024-08-21","fixed":"2.10.5","kev":false},{"cve":"CVE-2024-41675","published":"2024-08-21","fixed":"2.10.5","kev":false,"link":{"from":"CVE-2024-41675","to":"CVE-2025-24372","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.10.5","toFixed":"2.10.7","daysApart":168}]}},{"cve":"CVE-2024-43371","published":"2024-08-21","fixed":"2.10.5","kev":false},{"cve":"CVE-2025-24372","published":"2025-02-05","fixed":"2.11.2","kev":false},{"cve":"CVE-2025-54384","published":"2025-10-29","fixed":"2.11.4","kev":false,"link":{"from":"CVE-2025-24372","to":"CVE-2025-54384","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.11.2","toFixed":"2.11.4","daysApart":266}]}},{"cve":"CVE-2025-64100","published":"2025-10-29","fixed":"2.11.4","kev":false,"link":{"from":"CVE-2025-24372","to":"CVE-2025-64100","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ckan","fromFixed":"2.10.7","toFixed":"2.10.9","daysApart":266}]}},{"cve":"CVE-2026-41132","published":"2026-05-13","fixed":"2.11.5","kev":false}],"package":"PyPI:ckan"}}