---
id: CVE-2025-54384
aliases:
  - GHSA-2r4h-8jxv-w2j8
  - PYSEC-2026-1247
title: CKAN vulnerable to stored XSS in resource description
summary: CKAN vulnerable to stored XSS in resource description
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N'
vendor: ckan
product: ckan
ecosystem: pip
affected:
  - 'ckan >= 2.11.0, < 2.11.4'
  - ckan < 2.10.9
patched:
  - ckan 2.11.4
  - ckan 2.10.9
published: '2025-10-29'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2r4h-8jxv-w2j8'
references:
  - url: 'https://github.com/ckan/ckan/security/advisories/GHSA-2r4h-8jxv-w2j8'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-54384'
  - url: >-
      https://github.com/ckan/ckan/commit/112affffa74b14fc97c54abcf18315df97114917
  - url: >-
      https://github.com/ckan/ckan/commit/6d0065f2fc7e2682196d125275af34b93e9e554e
  - url: 'https://github.com/ckan/ckan'
  - url: 'https://github.com/ckan/ckan/releases/tag/ckan-2.10.9'
  - url: 'https://github.com/ckan/ckan/releases/tag/ckan-2.11.4'
tags:
  - osv
  - pip
epss: 0.00211
epssPercentile: 0.10043
ingestedAt: '2026-07-08T18:25:44.609Z'
---

## Overview

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

- `ckan >= 2.11.0, < 2.11.4`
- `ckan < 2.10.9`

## Remediation

Upgrade to a patched release:

- `ckan 2.11.4`
- `ckan 2.10.9`
