ckan
Affected
- introduced
2.7.0, fixed2.10.5(ecosystem)
Fixed versions
2.10.5
Fix
- Fixed version
2.10.5pip install --upgrade ckan==2.10.5
Advisory
Also known as: CVE-2024-41675, GHSA-r3jc-vhf4-6v32
CKAN has Cross-site Scripting vector in the Datatables view plugin
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.
Medium Basis: CVSS v3 score 6.8, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
2.7.0, fixed 2.10.5 (ecosystem)2.10.5
2.10.5pip install --upgrade ckan==2.10.5Fix 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
Source: PyPA Advisory Database · CC BY 4.0