ADVISORIES

PyPA Advisory Database

PYSEC-2026-1253

CKAN has Cross-site Scripting vector in the Datatables view plugin

Details

The Datatables view plugin 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

EcosystemPackageAffected versions
PyPIckan
From 2.7.0 before 2.10.5 (fixed in 2.10.5)

References