---
id: CVE-2024-41675
aliases:
  - GHSA-r3jc-vhf4-6v32
  - PYSEC-2026-1253
title: CKAN has Cross-site Scripting vector in the Datatables view plugin
summary: CKAN has Cross-site Scripting vector in the Datatables view plugin
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N'
vendor: ckan
product: ckan
ecosystem: pip
affected:
  - 'ckan >= 2.7.0, < 2.10.5'
patched:
  - ckan 2.10.5
published: '2024-08-21'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-r3jc-vhf4-6v32'
references:
  - url: 'https://github.com/ckan/ckan/security/advisories/GHSA-r3jc-vhf4-6v32'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-41675'
  - url: >-
      https://github.com/ckan/ckan/commit/9e89ce8220ab1445e0bd85a67994a51d9d3d2688
  - url: >-
      https://github.com/ckan/ckan/commit/d7dfe8c427b1c63c75d788a609f3b7d7620a25a1
  - url: 'https://github.com/ckan/ckan'
tags:
  - osv
  - pip
epss: 0.00403
epssPercentile: 0.31712
ingestedAt: '2026-07-08T18:25:52.634Z'
---

## Overview

The [Datatables view plugin](https://docs.ckan.org/en/2.10/maintaining/data-viewer.html#datatables-view) did not properly escape record data coming from the DataStore, leading to a potential XSS vector.


### Impact
Sites running CKAN >= 2.7.0 with the `datatables_view` plugin activated. This is a plugin included in CKAN core, that not activated by default but it is widely used to preview tabular data.

### Patches
This vulnerability has been fixed in CKAN 2.10.5 and 2.11.0

### Workarounds
Prevent importing of tabular files to the DataStore via DataPusher, XLoader,etc, at least those published from untrusted sources.


## Affected packages

- `ckan >= 2.7.0, < 2.10.5`

## Remediation

Upgrade to a patched release:

- `ckan 2.10.5`
