ADVISORIES

GitHub Advisory Database

GHSA-2r4h-8jxv-w2j8

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
From 2.11.0 before 2.11.4 (fixed in 2.11.4)
PyPIckan
All versions before 2.10.9 (fixed in 2.10.9)

References