MEDIUM6.3
PYSEC-2026-1247
CKAN vulnerable to stored XSS in resource description
Quick fix
PYSEC-2026-1247 — ckan: upgrade to the fixed version with the command below.
pip install --upgrade 'ckan>=2.10.9'Details
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/ckan/ckan/security/advisories/GHSA-2r4h-8jxv-w2j8[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2025-54384[ADVISORY]
- https://github.com/ckan/ckan/commit/112affffa74b14fc97c54abcf18315df97114917[WEB]
- https://github.com/ckan/ckan/commit/6d0065f2fc7e2682196d125275af34b93e9e554e[WEB]
- https://github.com/ckan/ckan[PACKAGE]
- https://github.com/ckan/ckan/releases/tag/ckan-2.10.9[WEB]
- https://github.com/ckan/ckan/releases/tag/ckan-2.11.4[WEB]
- https://pypi.org/project/ckan[PACKAGE]
- https://github.com/advisories/GHSA-2r4h-8jxv-w2j8[ADVISORY]