VDB
Sign up
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

PyPI/ckan
Introduced in: 0Fixed in: 2.10.9
Fixpip install --upgrade 'ckan>=2.10.9'

References