{"id":"UBUNTU-CVE-2020-11022","details":"In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.","modified":"2026-02-04T03:05:44.237316Z","published":"2020-04-29T22:15:00Z","related":["USN-7246-1","USN-7622-1","USN-7658-1"],"upstream":["CVE-2020-11022"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-11022"},{"type":"REPORT","url":"https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/"},{"type":"REPORT","url":"https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2"},{"type":"REPORT","url":"https://jquery.com/upgrade-guide/3.5/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-11022"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7246-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7622-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7658-1"}],"affected":[{"package":{"name":"drupal7","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/drupal7@7.26-1ubuntu0.1+esm3?arch=source&distro=esm-infra-legacy/trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.26-1ubuntu0.1+esm3"}]}],"versions":["7.23-1","7.24-1","7.24-2","7.26-1","7.26-1ubuntu0.1","7.26-1ubuntu0.1+esm1","7.26-1ubuntu0.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"drupal7","binary_version":"7.26-1ubuntu0.1+esm3"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11022.json"}},{"package":{"name":"jquery","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/jquery@1.11.3+dfsg-4ubuntu0.1~esm1?arch=source&distro=esm-infra/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.11.3+dfsg-4ubuntu0.1~esm1"}]}],"versions":["1.7.2+dfsg-3ubuntu2","1.11.3+dfsg-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery","binary_version":"1.11.3+dfsg-4ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11022.json"}},{"package":{"name":"drupal7","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/drupal7@7.44-1ubuntu1~16.04.0+esm3?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"7.44-1ubuntu1~16.04.0+esm3"}]}],"versions":["7.38-1","7.41-1","7.44-1ubuntu1~16.04.0","7.44-1ubuntu1~16.04.0+esm1","7.44-1ubuntu1~16.04.0+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"drupal7","binary_version":"7.44-1ubuntu1~16.04.0+esm3"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11022.json"}},{"package":{"name":"jquery","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/jquery@3.2.1-1ubuntu0.1~esm1?arch=source&distro=esm-infra/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.1-1ubuntu0.1~esm1"}]}],"versions":["3.1.1-2","3.2.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery","binary_version":"3.2.1-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11022.json"}},{"package":{"name":"jquery","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/jquery@3.3.1~dfsg-3ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1~dfsg-3ubuntu0.1"}]}],"versions":["3.3.1~dfsg-3"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-jquery","binary_version":"3.3.1~dfsg-3ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-11022.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/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":"low"}]}