CVE-2025-54384: CKAN vulnerable to stored XSS in resource description
Impact The helpers.markdownextract() function did not perform sufficient sanitization of input data before wrapping in an HTML literal element. This helper is used to render user-provided data on dataset, resource, organization or group pages (plus any page provided by an extension that used that helper function), leading to a potential XSS vector. Patches This vulnerability has been fixed in CKAN 2.10.9 and 2.11.4
Published Oct 29, 2025
Affected packages
ckan
- Ecosystem
- PyPI
- Affected
- >= 2.11.0, < 2.11.4
- Fixed in
- 2.11.4
- Check
pip show ckan
ckan
- Ecosystem
- PyPI
- Affected
- < 2.10.9
- Fixed in
- 2.10.9
- Check
pip show ckan
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
The helpers.markdown_extract() function did not perform sufficient sanitization of input data before wrapping in an HTML literal element. This helper is used to render user-provided data on dataset, resource, organization or group pages (plus any page provided by an extension that used that helper function), leading to a potential XSS vector.
Patches
This vulnerability has been fixed in CKAN 2.10.9 and 2.11.4
Credited to asifnawazminhas.
References
- https://github.com/ckan/ckan/security/advisories/GHSA-2r4h-8jxv-w2j8
- https://github.com/ckan/ckan/commit/112affffa74b14fc97c54abcf18315df97114917
- https://github.com/ckan/ckan/releases/tag/ckan-2.10.9
- https://github.com/ckan/ckan/releases/tag/ckan-2.11.4
- https://nvd.nist.gov/vuln/detail/CVE-2025-54384
- https://github.com/ckan/ckan/commit/6d0065f2fc7e2682196d125275af34b93e9e554e
- https://github.com/advisories/GHSA-2r4h-8jxv-w2j8
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-104773
CKAN: Session Fixation in Registration View
medium6.8Nov 20, 2026CVE-2026-42032
CKAN has Unauthenticated Authorization Bypass in `datastore_search_sql`
medium6.7Apr 30, 2026CVE-2026-41132
CKAN has no certificate validation on STMP connection
medium6.6Apr 29, 2026CVE-2026-41255
CKAN has CSRF exemption primed by anonymous requests
medium6.1Apr 29, 2026CVE-2026-42031
CKAN has Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
high8.3Apr 29, 2026CVE-2025-64100
CKAN vulnerable to fixed session IDs
medium6.1Oct 29, 2025
