# CVE-2025-24372: XSS vector in user uploaded images in group/org and user profiles in ckan

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.89% (percentile 57, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-7pq5-qcp6-mcww, PYSEC-2026-1250
- **Published:** 2025-02-05T17:41:33.000Z
- **Modified:** 2026-07-07T17:56:58.051Z

## Who should check

- Projects that depend on PyPI package ckan (\< 2.10.7)
- Anyone running ckan \< 2.10.7; \>= 2.11.0, \< 2.11.2

## 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 and fixed versions

- PyPI `ckan`: affected \< 2.10.7; fixed 2.10.7, 2.11.2 (osv)
- ckan: \< 2.10.7; \>= 2.11.0, \< 2.11.2 (cvelist)

## Mitigation

- Upgrade ckan to one of 2.10.7, 2.11.2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-24372. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-24372.md
Affected: ckan < 2.10.7
Fixed in: 2.10.7, 2.11.2

Steps:
1. Search this machine and project for ckan (PyPI), ckan: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-24372 being exploited?

There is no confirmed exploitation: CVE-2025-24372 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.89% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-24372?

High: CVSS 7.3 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-24372?

ckan \< 2.10.7.

### Is there a fix for CVE-2025-24372?

Yes. Fixed in 2.10.7, 2.11.2. Upgrade ckan to one of 2.10.7, 2.11.2 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-24372?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/ckan/ckan/security/advisories/GHSA-7pq5-qcp6-mcww>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-24372>
- vendor: <https://github.com/advisories/GHSA-7pq5-qcp6-mcww>
- patch: <https://github.com/ckan/ckan/commit/7da6a26c6183e0a97a356d1b1d2407f3ecc7b9c8>
- patch: <https://github.com/ckan/ckan/commit/a4fc5e06634ed51d653ab819a7efc8e62f816f68>
- other: <https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-mimetypes>
- other: <https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-group-types>
- other: <https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-mimetypes>
- other: <https://docs.ckan.org/en/latest/maintaining/configuration.html#ckan-upload-user-types>
- other: <https://github.com/ckan/ckan>
- other: <https://pypi.org/project/ckan>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-24372>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-7pq5-qcp6-mcww> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1250> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-24372> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-24372>
