CVE-2025-54384: CKAN stored XSS vulnerability in Markdown description fields
Impact
The helpers.markdownextract() 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
Other sources
CKAN is an open-source DMS (data management system) for powering data hubs and data portals. Prior to 2.10.9 and 2.11.4, the helpers.markdownextract() 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. This vulnerability has been fixed in CKAN 2.10.9 and 2.11.4.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/ckanto a version that resolves this vulnerability.Fixed in 2.10.9 - Upgrade
Upgrade
pip/ckanto a version that resolves this vulnerability.Fixed in 2.11.4 - Upgrade
Upgrade
CKANto a version that resolves this vulnerability.Fixed in 2.10.9 - Upgrade
Upgrade
CKANto a version that resolves this vulnerability.Fixed in 2.11.4
Event History
Frequently Asked Questions
What is the severity of CVE-2025-54384?
CVE-2025-54384 is classified as a moderate severity vulnerability due to insufficient input sanitization.
How do I fix CVE-2025-54384?
To fix CVE-2025-54384, update CKAN to version 2.10.9 or 2.11.4 or higher.
What versions of CKAN are affected by CVE-2025-54384?
CVE-2025-54384 affects CKAN versions prior to 2.10.9 and 2.11.4.
What is the impact of CVE-2025-54384?
The impact of CVE-2025-54384 is that it allows potential cross-site scripting (XSS) attacks due to the lack of input data sanitization.
Is CVE-2025-54384 a critical vulnerability?
No, CVE-2025-54384 is not classified as a critical vulnerability but it poses a notable risk if exploited.