ADVISORIES

PyPA Advisory Database

PYSEC-2026-1247

CKAN vulnerable to stored XSS in resource description

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

Affected packages

EcosystemPackageAffected versions
PyPIckan
All versions before 2.10.9 (fixed in 2.10.9)
From 2.11.0 before 2.11.4 (fixed in 2.11.4)

References