{"id":"CVE-2020-11023","details":"In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing \u003coption\u003e elements 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.","aliases":["BIT-drupal-2020-11023","GHSA-jpcq-cgw6-v4j6"],"modified":"2026-04-10T04:21:40.487961Z","published":"2020-04-29T21:15:11.743Z","related":["ALSA-2021:1846","ALSA-2021:4142","ALSA-2025:1210","ALSA-2025:1215","ALSA-2025:1300","ALSA-2025:1301","ALSA-2025:1306","ALSA-2025:1309","ALSA-2025:1314","ALSA-2025:1329","ALSA-2025:1338","ALSA-2025:1346","GHSA-jpcq-cgw6-v4j6","openSUSE-SU-2020:1060-1","openSUSE-SU-2020:1106-1","openSUSE-SU-2020:1888-1"],"references":[{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-11023"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SFP4UK4EGP4AFH2MWYJ5A5Z4I7XVFQ6B/"},{"type":"ADVISORY","url":"https://jquery.com/upgrade-guide/3.5/"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuoct2020.html"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2021-02"},{"type":"ADVISORY","url":"https://github.com/github/advisory-database/blob/99afa6fdeaf5d1d23e1021ff915a5e5dbc82c1f1/advisories/github-reviewed/2020/04/GHSA-jpcq-cgw6-v4j6/GHSA-jpcq-cgw6-v4j6.json#L20-L37"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2020.html"},{"type":"ADVISORY","url":"https://www.drupal.org/sa-core-2020-002"},{"type":"ADVISORY","url":"https://github.com/jquery/jquery/security/advisories/GHSA-jpcq-cgw6-v4j6"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2020/dsa-4693"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20200511-0006/"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://blog.jquery.com/2020/04/10/jquery-3-5-0-released"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QPN2L2XVQGUA2V5HNQJWHK3APSK3VN7K/"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SAPQVX3XDNPGFT26QAQ6AJIXZZBZ4CD4/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.html"},{"type":"ADVISORY","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AVKYXLWCLZBV2N7M46KYK4LVA5OXWPBY/"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202007-03"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujan2021.html"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2021-10"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00033.html"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r0483ba0072783c2e1bfea613984bfb3c86e73ba8879d780dc1cc7d36%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r8f70b0f65d6bedf316ecd899371fd89e65333bc988f6326d2956735c%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r9c5fda81e4bca8daee305b4c03283dddb383ab8428a151d4cb0b3b15%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rf1ba79e564fe7efc56aef7c986106f1cf67a3427d08e997e088e7a93%40%3Cgitbox.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r2c85121a47442036c7f8353a3724aa04f8ecdfda1819d311ba4f5330%40%3Cdev.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r54565a8f025c7c4f305355fdfd75b68eca442eebdb5f31c2e7d977ae%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r6c4df3b33e625a44471009a172dabe6865faec8d8f21cac2303463b1%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r706cfbc098420f7113968cc377247ec3d1439bce42e679c11c609e2d%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r1fed19c860a0d470f2a3eded12795772c8651ff583ef951ddac4918c%40%3Cgitbox.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rda99599896c3667f2cc9e9d34c7b6ef5d2bbed1f4801e1d75a2b0679%40%3Ccommits.nifi.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rf661a90a15da8da5922ba6127b3f5f8194d4ebec8855d60a0dd13248%40%3Cdev.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r094f435595582f6b5b24b66fedf80543aa8b1d57a3688fbcc21f06ec%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r4dba67be3239b34861f1b9cfdf9dfb3a90272585dcce374112ed6e16%40%3Cdev.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra3c9219fcb0b289e18e9ec5a5ebeaa5c17d6b79a201667675af6721c%40%3Cgitbox.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rab82dd040f302018c85bd07d33f5604113573514895ada523c3401d9%40%3Ccommits.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r07ab379471fb15644bf7a92e4a98cbc7df3cf4e736abae0cc7625fe6%40%3Cdev.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra406b3adfcffcb5ce8707013bdb7c35e3ffc2776a8a99022f15274c6%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rede9cfaa756e050a3d83045008f84a62802fc68c17f2b4eabeaae5e4%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r6e97b37963926f6059ecc1e417721608723a807a76af41d4e9dbed49%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r4aadb98086ca72ed75391f54167522d91489a0d0ae25b12baa8fc7c5%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r9e0bd31b7da9e7403478d22652b8760c946861f8ebd7bd750844898e%40%3Cdev.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/radcb2aa874a79647789f3563fcbbceaf1045a029ee8806b59812a8ea%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rd38b4185a797b324c8dd940d9213cf99fcdc2dbf1fc5a63ba7dee8c9%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ree3bd8ddb23df5fa4e372d11c226830ea3650056b1059f3965b3fce2%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r0593393ca1e97b1e7e098fe69d414d6bd0a467148e9138d07e86ebbb%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r49ce4243b4738dd763caeb27fa8ad6afb426ae3e8c011ff00b8b1f48%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r55f5e066cc7301e3630ce90bbbf8d28c82212ae1f2d4871012141494%40%3Cdev.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/re4ae96fa5c1a2fe71ccbb7b7ac1538bd0cb677be270a2bf6e2f8d108%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra32c7103ded9041c7c1cb8c12c8d125a6b2f3f3270e2937ef8417fac%40%3Cgitbox.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/ra374bb0299b4aa3e04edde01ebc03ed6f90cf614dad40dd428ce8f72%40%3Cgitbox.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rbb448222ba62c430e21e13f940be4cb5cfc373cd3bce56b48c0ffa67%40%3Cdev.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r564585d97bc069137e64f521e68ba490c7c9c5b342df5d73c49a0760%40%3Cissues.flink.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rb25c3bc7418ae75cba07988dafe1b6912f76a9dd7d94757878320d61%40%3Cgitbox.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r9006ad2abf81d02a0ef2126bab5177987e59095b7194a487c4ea247c%40%3Ccommits.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rb69b7d8217c1a6a2100247a5d06ce610836b31e3f5d73fc113ded8e7%40%3Cissues.hive.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/r3702ede0ff83a29ba3eb418f6f11c473d6e3736baba981a8dbd9c9ef%40%3Cdev.felix.apache.org%3E"},{"type":"REPORT","url":"https://lists.apache.org/thread.html/rf0f8939596081d84be1ae6a91d6248b96a02d8388898c372ac807817%40%3Cdev.felix.apache.org%3E"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuoct2021.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuApr2021.html"},{"type":"FIX","url":"https://www.oracle.com//security-alerts/cpujul2021.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/162160/jQuery-1.0.3-Cross-Site-Scripting.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/drupal/drupal","events":[{"introduced":"0"},{"last_affected":"d62812dc17ce593beb2ccd4cdbee1a76c95e3fd7"},{"introduced":"497914920385b7016ac9c9367e0198530787adf2"},{"fixed":"c62d5ba13e02923cf4f6e2a7ede0d2afcaa68043"},{"introduced":"17ba30046ed57677de4feff8d07354890b40efdb"},{"fixed":"ee0693f6d6bdc5cd772e163e6ed410567d82d33f"},{"introduced":"f2b59e3ae8097ea01d15c708f1267b73794399c0"},{"fixed":"ed3ab8ae68db8942877b5d6d8f3f91f090cd63fb"},{"introduced":"0"},{"last_affected":"c0d600fe2ce507f28e91acc51d7f63be28521536"},{"introduced":"0"},{"last_affected":"fb83de52e58e8fb3303de7aa9834f99ae128564a"},{"introduced":"0"},{"last_affected":"6ffaabfece5d21e41c1ae53c8e3a8f6ffa94582a"},{"introduced":"d6c7b4cf627ab409c595e1c76bf0a8deadbc7feb"},{"last_affected":"49f719f7c4f7c1b69dc35ff8fbdea123e7d88f92"},{"introduced":"d50941ce25ee8c7586bd98ccbf8892190a8d3052"},{"last_affected":"91f5bce36fdc607cbbb912fb133f52f32aa2d3cb"},{"introduced":"0"},{"last_affected":"497914920385b7016ac9c9367e0198530787adf2"},{"introduced":"0"},{"last_affected":"c0d600fe2ce507f28e91acc51d7f63be28521536"},{"introduced":"0"},{"last_affected":"fb83de52e58e8fb3303de7aa9834f99ae128564a"},{"introduced":"0"},{"last_affected":"6ffaabfece5d21e41c1ae53c8e3a8f6ffa94582a"},{"introduced":"0"},{"last_affected":"c0d600fe2ce507f28e91acc51d7f63be28521536"},{"introduced":"0"},{"last_affected":"fb83de52e58e8fb3303de7aa9834f99ae128564a"},{"introduced":"0"},{"last_affected":"6ffaabfece5d21e41c1ae53c8e3a8f6ffa94582a"},{"introduced":"0"},{"last_affected":"f25feddd5ca56e6155e26e52667ab4fef87bb19d"},{"introduced":"0"},{"last_affected":"943ecef3c0bc9822338252a7df6419aeb9253c9d"},{"introduced":"0"},{"last_affected":"9798f28fe983bea94fb06ff52423355688066780"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"9.0"},{"introduced":"7.0"},{"fixed":"7.70"},{"introduced":"8.7.0"},{"fixed":"8.7.14"},{"introduced":"8.8.0"},{"fixed":"8.8.6"},{"introduced":"0"},{"last_affected":"8.1.1"},{"introduced":"0"},{"last_affected":"8.2.0"},{"introduced":"0"},{"last_affected":"8.2.1"},{"introduced":"6.1"},{"last_affected":"6.4"},{"introduced":"4.1"},{"last_affected":"4.3"},{"introduced":"0"},{"last_affected":"7.0"},{"introduced":"0"},{"last_affected":"8.1.1"},{"introduced":"0"},{"last_affected":"8.2.0"},{"introduced":"0"},{"last_affected":"8.2.1"},{"introduced":"0"},{"last_affected":"8.1.1"},{"introduced":"0"},{"last_affected":"8.2.0"},{"introduced":"0"},{"last_affected":"8.2.1"},{"introduced":"0"},{"last_affected":"8.0.4"},{"introduced":"0"},{"last_affected":"9.2"},{"introduced":"0"},{"last_affected":"8.5.1"}]}},{"type":"GIT","repo":"https://github.com/jquery/jquery","events":[{"introduced":"4e3da33c59fafe34e237585743e86e24ba81046e"},{"fixed":"7a0a850f3d41c0412609c1d32b1e602d4afe2f4e"},{"introduced":"0"},{"last_affected":"b7fc909edda2d8cf63d0eaffe9bd12f33e492ad3"},{"introduced":"0"},{"last_affected":"f71eeda0fac4ec1442e631e90ff0703a0fb4ac96"},{"introduced":"0"},{"last_affected":"32b00373b3f42e5cdcb709df53f3b08b7184a944"},{"introduced":"0"},{"last_affected":"b7fc909edda2d8cf63d0eaffe9bd12f33e492ad3"}],"database_specific":{"versions":[{"introduced":"1.0.3"},{"fixed":"3.5.0"},{"introduced":"0"},{"last_affected":"3.4"},{"introduced":"0"},{"last_affected":"3.2.1"},{"introduced":"0"},{"last_affected":"3.3.1"},{"introduced":"0"},{"last_affected":"3.4.0"}]}}],"versions":["1.0","1.0.3","1.0.4","1.1","1.1.1","1.1.2","1.1.3","1.1.3.1","1.1.3a","1.1.4","1.1a","1.1b","1.2","1.2.1","1.2.2","1.2.2b","1.2.2b2","1.2.3a","1.2.3b","1.2.4","1.2.4a","1.2.4b","1.2.5","1.3.1rc1","1.3b1","1.3b2","1.3rc1","1.4.3rc1","1.4.3rc2","1.4.4rc1","1.4.4rc2","1.4.4rc3","1.4a1","1.4a2","1.4rc1","1.5.1rc1","1.5.2rc1","1.5b1","1.5rc1","1.6.1rc1","1.6.2rc1","1.6.3rc1","1.6.4rc1","1.6b1","1.6rc1","1.7.1rc1","1.7.2b1","1.7.2rc1","1.7b1","1.7b2","1.7rc1","1.8b1","1.8b2","1.8rc1","1.9.0b1","2.0","2.0.0-beta3","2.0.0b1","2.0.0b2","2.1.0-beta1","3.0.1","3.2.1","3.3.1","3.4.0","4.3.0","6.1","6.2","6.3","6.4","7.0","7.10","7.12","7.14","7.15","7.17","7.22","7.23","7.25","7.28","7.30","7.33","7.36","7.37","7.4","7.40","7.42","7.43","7.50","7.51","7.54","7.55","7.56","7.6","7.61","7.64","7.68","7.69","7.7","7.8","7.9","8.0-alpha10","8.0-alpha11","8.0-alpha12","8.0-alpha13","8.0-alpha2","8.0-alpha3","8.0-alpha4","8.0-alpha5","8.0-alpha6","8.0-alpha7","8.0-alpha8","8.0-alpha9","8.0.0","8.0.0-alpha14","8.0.0-alpha15","8.0.0-beta1","8.0.0-beta10","8.0.0-beta11","8.0.0-beta12","8.0.0-beta13","8.0.0-beta14","8.0.0-beta15","8.0.0-beta16","8.0.0-beta2","8.0.0-beta3","8.0.0-beta4","8.0.0-beta5","8.0.0-beta6","8.0.0-beta7","8.0.0-beta9","8.0.0-rc1","8.0.0-rc2","8.0.0-rc3","8.0.0-rc4","8.0.1","8.0.2","8.0.3","8.0.4","8.1.0","8.1.0-beta1","8.1.0-beta2","8.1.0-rc1","8.1.1","8.2.0","8.2.0-beta1","8.2.0-beta2","8.2.0-beta3","8.2.0-rc1","8.2.0-rc2","8.2.1","8.5.0","8.5.0-alpha1","8.5.0-beta1","8.5.0-rc1","8.5.1","8.7.0-alpha1","8.7.0-alpha2","8.7.0-beta1","8.7.0-beta2","8.7.0-rc1","8.7.10","8.7.13","8.7.2","8.7.3","8.7.4","8.7.6","8.7.7","8.7.8","8.7.9","8.8.0","8.8.2","8.8.3","8.8.5","9.0.0","9.0.0-alpha1","9.0.0-alpha2","9.0.0-beta1","9.0.0-beta2","9.0.0-beta3","9.0.0-rc1","9.2.0","9.2.0-alpha1","9.2.0-beta1","9.2.0-beta2","9.2.0-beta3","9.2.0-rc1","start"],"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"31"}]},{"events":[{"introduced":"0"},{"last_affected":"32"}]},{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"fixed":"20.2"}]},{"events":[{"introduced":"0"},{"last_affected":"13.3.0.1"}]},{"events":[{"introduced":"2.7.0"},{"last_affected":"2.8.0"}]},{"events":[{"introduced":"2.4.0"},{"last_affected":"2.10.0"}]},{"events":[{"introduced":"0"},{"fixed":"21.1.2"}]},{"events":[{"introduced":"0"},{"last_affected":"21.1.2"}]},{"events":[{"introduced":"0"},{"last_affected":"5.9.0.0.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.1.1"}]},{"events":[{"introduced":"16.1.0"},{"last_affected":"16.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"2.7"}]},{"events":[{"introduced":"0"},{"last_affected":"2.8"}]},{"events":[{"introduced":"0"},{"last_affected":"6.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"3.3.2"}]},{"events":[{"introduced":"0"},{"last_affected":"11.1.2.4"}]},{"events":[{"introduced":"0"},{"fixed":"9.2.5.0"}]},{"events":[{"introduced":"0"},{"fixed":"9.2.5.0"}]},{"events":[{"introduced":"0"},{"fixed":"2.12.41"}]},{"events":[{"introduced":"16.2"},{"last_affected":"16.2.11"}]},{"events":[{"introduced":"17.12.0"},{"last_affected":"17.12.7"}]},{"events":[{"introduced":"18.8.0"},{"last_affected":"18.8.9"}]},{"events":[{"introduced":"19.12.0"},{"last_affected":"19.12.4"}]},{"events":[{"introduced":"0"},{"last_affected":"11.2.0.4"}]},{"events":[{"introduced":"0"},{"last_affected":"12.1.0.2"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.0.1"}]},{"events":[{"introduced":"0"},{"last_affected":"18c"}]},{"events":[{"introduced":"0"},{"last_affected":"19c"}]},{"events":[{"introduced":"0"},{"last_affected":"20.12"}]},{"events":[{"introduced":"0"},{"last_affected":"2.3.1"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.1.3.0.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"14.1.1.0.0"}]},{"events":[{"introduced":"3.0"},{"last_affected":"3.1.3"}]},{"events":[{"introduced":"0"},{"fixed":"6.0.9"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-11023.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"}]}