Advisory

GHSA-2r4h-8jxv-w2j8

Also known as: CVE-2025-54384, PYSEC-2026-1247

Summary

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-10-29 15:34 UTC
Modified
2026-07-07 17:56 UTC

Affected packages and fixes

ckan

PyPI · All systems

Affected

  • introduced 2.11.0, fixed 2.11.4 (ecosystem)

Fixed versions

2.11.4

Fix

  • Fixed version 2.11.4
    pip install --upgrade ckan==2.11.4

ckan

PyPI · All systems

Affected

  • introduced 0, fixed 2.10.9 (ecosystem)

Fixed versions

2.10.9

Fix

  • Fixed version 2.10.9
    pip install --upgrade ckan==2.10.9

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences