{"id":"CVE-2024-41675","aliases":["CVE-2024-41675","GHSA-r3jc-vhf4-6v32","PYSEC-2026-1253"],"related":[],"kind":"vulnerability","state":"published","title":"CKAN has a Cross-site Scripting vector in the Datatables view plugin","summary":"CKAN is an open-source data management system for powering data hubs and data portals. The Datatables view plugin did not properly escape record data coming from the DataStore, leading to a potential XSS vector. 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. This vulnerability has been fixed in CKAN 2.10.5 and 2.11.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CKAN is an open-source data management system for powering data hubs and data portals. The Datatables view plugin did not properly escape record data coming from the DataStore, leading to a potential XSS vector. 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. This vulnerability has been fixed in CKAN 2.10.5 and 2.11.0.","source":"cvelist"},{"lang":"en","text":"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.\n\n\n### Impact\nSites 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.\n\n### Patches\nThis vulnerability has been fixed in CKAN 2.10.5 and 2.11.0\n\n### Workarounds\nPrevent importing of tabular files to the DataStore via DataPusher, XLoader,etc, at least those published from untrusted sources.","format":"markdown","source":"ghsa"},{"lang":"es","text":"CKAN es un sistema de gestión de datos de código abierto para impulsar centros y portales de datos. El complemento de vista Datatables no escapó correctamente de los datos de registro provenientes del DataStore, lo que generó un posible vector XSS. Sitios que ejecutan CKAN &gt;= 2.7.0 con el complemento datatables_view activado. Este es un complemento incluido en el núcleo de CKAN, que no está activado de forma predeterminada pero se usa ampliamente para obtener una vista previa de datos tabulares. Esta vulnerabilidad se ha solucionado en CKAN 2.10.5 y 2.11.0.","source":"nvd"}],"published":"2024-08-21T14:34:31.424Z","modified":"2026-07-07T17:57:25.610Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 2.7.0, < 2.10.5","status":"affected"}],"vendor":"ckan","product":"ckan","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.7.0","status":"affected","fixed":"2.10.5"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.7.0","fixed":"2.10.5"}],"vendor":"okfn","product":"ckan","cpe":"cpe:2.3:a:okfn:ckan:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"2.7.0","status":"affected","fixed":"2.10.5"}],"ecosystem":"PyPI","package":"ckan","purl":"pkg:pypi/ckan","source":"pysec"}],"references":[{"url":"https://github.com/ckan/ckan/security/advisories/GHSA-r3jc-vhf4-6v32","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ckan/ckan/commit/9e89ce8220ab1445e0bd85a67994a51d9d3d2688","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/ckan/ckan/commit/d7dfe8c427b1c63c75d788a609f3b7d7620a25a1","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41675","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/ckan/ckan","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/ckan","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-r3jc-vhf4-6v32","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-08-22T13:35:03.445Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-41675","url":"https://www.cve.org/CVERecord?id=CVE-2024-41675","licence":"CVE Terms of Use","modified":"2024-08-22T13:35:13.240Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r3jc-vhf4-6v32","url":"https://github.com/advisories/GHSA-r3jc-vhf4-6v32","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:25.610Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-41675","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41675","licence":"Public domain","modified":"2026-06-17T07:48:01.657Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1253","url":"https://osv.dev/vulnerability/PYSEC-2026-1253","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:25.985Z"}],"updatedAt":"2026-11-25T22:58:44.626Z","epss":{"score":0.00403,"percentile":0.36647,"date":"2026-12-01T12:00:22.000Z"}}