ckan
Affected
- introduced
0, fixed2.10.9, introduced2.11.0, fixed2.11.4(ecosystem)
Fixed versions
2.10.9, 2.11.4
Fix
- Fixed version
2.10.9pip install --upgrade ckan==2.10.9 - Fixed version
2.11.4pip install --upgrade ckan==2.11.4
Advisory
Also known as: CVE-2025-54384, GHSA-2r4h-8jxv-w2j8
CKAN vulnerable to stored XSS in resource description
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
Medium Basis: CVSS v3 score 6.3, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N
0, fixed 2.10.9, introduced 2.11.0, fixed 2.11.4 (ecosystem)2.10.9, 2.11.4
2.10.9pip install --upgrade ckan==2.10.92.11.4pip install --upgrade ckan==2.11.4Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0