Advisory

PYSEC-2026-1247

Also known as: CVE-2025-54384, GHSA-2r4h-8jxv-w2j8

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: 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

Dates

Published
2026-07-07 16:03 UTC
Modified
2026-07-07 17:47 UTC

Affected packages and fixes

ckan

PyPI · All systems

Affected

  • introduced 0, fixed 2.10.9, introduced 2.11.0, fixed 2.11.4 (ecosystem)

Fixed versions

2.10.9, 2.11.4

Fix

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

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: PyPA Advisory Database · CC BY 4.0

Sources & licences