{"id":"UBUNTU-CVE-2021-36713","details":"Cross Site Scripting (XSS) vulnerability in the DataTables plug-in 1.9.2 for jQuery allows attackers to run arbitrary code via the sBaseName parameter to function _fnCreateCookie. NOTE: 1.9.2 is a version from 2012.","modified":"2026-04-27T17:01:07.771247Z","published":"2023-03-06T22:15:00Z","upstream":["CVE-2021-36713"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-36713"},{"type":"REPORT","url":"https://cdn.datatables.net/1.9.2/js/jquery.dataTables.js"},{"type":"REPORT","url":"https://gist.github.com/walhajri/711af9b62f6fb25e66a5d9a490deab98"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-36713"}],"affected":[{"package":{"name":"datatables.js","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/datatables.js@1.10.11+dfsg-2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.9+dfsg-1","1.10.10+dfsg-1","1.10.10+dfsg-2","1.10.11+dfsg-1","1.10.11+dfsg-1ubuntu1","1.10.11+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.10.11+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}},{"package":{"name":"datatables.js","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/datatables.js@1.10.16+dfsg-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.15+dfsg-2","1.10.16+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.10.16+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}},{"package":{"name":"datatables.js","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/datatables.js@1.10.20+dfsg-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.19+dfsg-1","1.10.20+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.10.20+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}},{"package":{"name":"datatables.js","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/datatables.js@1.11.4+dfsg-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.10.21+dfsg-2","1.10.21+dfsg-3","1.11.4+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.11.4+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}},{"package":{"name":"datatables.js","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/datatables.js@1.11.5+dfsg-2?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.5+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.11.5+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}},{"package":{"name":"datatables.js","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/datatables.js@1.11.5+dfsg-2?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.5+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.11.5+dfsg-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}},{"package":{"name":"datatables.js","ecosystem":"Ubuntu:26.04","purl":"pkg:deb/ubuntu/datatables.js@1.11.5+dfsg-2build1?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.5+dfsg-2","1.11.5+dfsg-2build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery-datatables","binary_version":"1.11.5+dfsg-2build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-36713.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}