CVE-2020-11023: JQuery Cross-Site Scripting (XSS) Vulnerability

Published Apr 29, 2020
·
Updated

Impact Passing HTML containing <option> elements from untrusted sources - even after sanitizing them - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code.

Patches This problem is patched in jQuery 3.5.0.

Workarounds To workaround this issue without upgrading, use DOMPurify with its SAFEFORJQUERY option to sanitize the HTML string before passing it to a jQuery method.

References https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/

For more information If you have any questions or comments about this advisory, search for a relevant issue in the jQuery repo. If you don't find an answer, open a new issue.

Other sources

A flaw was found in jQuery. HTML containing \<option\> elements from untrusted sources are passed, even after sanitizing, to one of jQuery's DOM manipulation methods, which may execute untrusted code. The highest threat from this vulnerability is to data confidentiality and integrity.

In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing <option> 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.

— Ubuntu

In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing 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.

— F5

In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing option 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.

— IBM

JQuery contains a persistent cross-site scripting (XSS) vulnerability. When passing maliciously formed, untrusted input enclosed in HTML tags, JQuery's DOM manipulators can execute untrusted code in the context of the user's browser.

— CISA

Affected Software

166 affected componentsFixes available
redhat/qpid-dispatch<0:1.13.0-3.el6_10
0:1.13.0-3.el6_10
redhat/qpid-dispatch<0:1.13.0-3.el7
0:1.13.0-3.el7
redhat/qpid-dispatch<0:1.13.0-3.el8
0:1.13.0-3.el8
redhat/kiali<0:v1.12.10.redhat2-1.el7
0:v1.12.10.redhat2-1.el7
redhat/ior<0:1.1.6-1.el8
0:1.1.6-1.el8
redhat/servicemesh<0:1.1.6-1.el8
0:1.1.6-1.el8
redhat/servicemesh-cni<0:1.1.6-1.el8
0:1.1.6-1.el8
redhat/servicemesh-grafana<0:6.4.3-13.el8
0:6.4.3-13.el8
redhat/servicemesh-operator<0:1.1.6-2.el8
0:1.1.6-2.el8
redhat/servicemesh-prometheus<0:2.14.0-14.el8
0:2.14.0-14.el8
redhat/ipa<0:4.6.8-5.el7_9.4
0:4.6.8-5.el7_9.4
redhat/pcs<0:0.9.169-3.el7_9.3
0:0.9.169-3.el7_9.3
redhat/pcs<0:0.10.10-4.el8
0:0.10.10-4.el8
redhat/eap7-hal-console<0:3.3.16-1.Final_redhat_00001.1.el8ea
0:3.3.16-1.Final_redhat_00001.1.el8ea
redhat/eap7-hal-console<0:3.3.16-1.Final_redhat_00001.1.el9ea
0:3.3.16-1.Final_redhat_00001.1.el9ea
redhat/eap7-hal-console<0:3.3.16-1.Final_redhat_00001.1.el7ea
0:3.3.16-1.Final_redhat_00001.1.el7ea
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el7
0:18.0.6-1.redhat_00001.1.el7
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el8
0:18.0.6-1.redhat_00001.1.el8
redhat/rh-sso7-keycloak<0:18.0.6-1.redhat_00001.1.el9
0:18.0.6-1.redhat_00001.1.el9
redhat/ovirt-engine-ui-extensions<0:1.2.2-1.el8e
0:1.2.2-1.el8e
redhat/ovirt-web-ui<0:1.6.4-1.el8e
0:1.6.4-1.el8e
composer/components/jquery>=1.0.3<3.5.0
3.5.0
npm/jquery>=1.0.3<3.5.0
3.5.0
maven/org.webjars.npm:jquery>=1.0.3<3.5.0
3.5.0
nuget/jquery>=1.0.3<3.5.0
3.5.0
rubygems/jquery-rails<4.4.0
4.4.0
jQuery JQuery>=1.0.3<3.5.0
Debian Debian Linux=9.0
Fedoraproject Fedora=31
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Drupal Drupal>=7.0<7.70
Drupal Drupal>=8.7.0<8.7.14
Drupal Drupal>=8.8.0<8.8.6
Oracle Application Express<20.2
Oracle Application Testing Suite=13.3.0.1
Oracle Banking Enterprise Collections>=2.7.0<=2.8.0
Oracle Banking Platform>=2.4.0<=2.10.0
Oracle Business Intelligence=5.9.0.0.0
Oracle Communications Analytics=12.1.1
Oracle Communications EAGLE Application Processor>=16.1.0<=16.4.0
Oracle Communications Element Manager=8.1.1
Oracle Communications Element Manager=8.2.0
Oracle Communications Element Manager=8.2.1
Oracle Communications Interactive Session Recorder>=6.1<=6.4
Oracle Communications Operations Monitor>=4.1<=4.3
Oracle Communications Operations Monitor=3.4
Oracle Communications Services Gatekeeper=7.0
Oracle Communications Session Report Manager=8.1.1
Oracle Communications Session Report Manager=8.2.0
Oracle Communications Session Report Manager=8.2.1
Oracle Communications Session Route Manager=8.1.1
Oracle Communications Session Route Manager=8.2.0
Oracle Communications Session Route Manager=8.2.1
Oracle Financial Services Regulatory Reporting For De Nederlandsche Bank=8.0.4
Oracle Financial Services Revenue Management And Billing Analytics=2.7
Oracle Financial Services Revenue Management And Billing Analytics=2.8
Oracle Health Sciences InForm=6.3.0
Oracle Healthcare Translational Research=3.2.1
Oracle Healthcare Translational Research=3.3.1
Oracle Healthcare Translational Research=3.3.2
Oracle Healthcare Translational Research=3.4.0
Oracle Hyperion Financial Reporting=11.1.2.4
Oracle JD Edwards EnterpriseOne Orchestrator<9.2.5.0
Oracle JD Edwards EnterpriseOne Tools<9.2.5.0
Oracle OSS Support Tools<2.12.41
Oracle Peoplesoft Enterprise Human Capital Management Resources=9.2
Oracle Primavera Gateway>=16.2<=16.2.11
Oracle Primavera Gateway>=17.12.0<=17.12.7
Oracle Primavera Gateway>=18.8.0<=18.8.9
Oracle Primavera Gateway>=19.12.0<=19.12.4
Oracle REST Data Services=11.2.0.4
Oracle REST Data Services=12.1.0.2
Oracle REST Data Services=12.2.0.1
Oracle REST Data Services=18c
Oracle REST Data Services=19c
Oracle Siebel Mobile<=20.12
Oracle Storagetek Acsls=8.5.1
Oracle Storagetek Tape Analytics Sw Tool=2.3.1
Oracle WebCenter Sites=12.2.1.3.0
Oracle WebCenter Sites=12.2.1.4.0
Oracle WebLogic Server=12.1.3.0.0
Oracle WebLogic Server=12.2.1.3.0
Oracle WebLogic Server=12.2.1.4.0
Oracle WebLogic Server=14.1.1.0.0
NetApp H300s Firmware
NetApp H300s
NetApp H500s Firmware
NetApp H500s
NetApp H700s Firmware
NetApp H700s
NetApp H300e Firmware
NetApp H300e
NetApp H500e Firmware
NetApp H500e
NetApp H700e Firmware
NetApp H700e
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
NetApp Max Data
NetApp OnCommand Insight
NetApp OnCommand System Manager>=3.0<=3.1.3
NetApp Snap Creator Framework
NetApp SnapCenter Server
Tenable Log Correlation Engine<6.0.9
Oracle Blockchain Platform<21.1.2
Oracle Blockchain Platform=21.1.2
All of the following
NetApp H300s Firmware
NetApp H300s
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
NetApp Active Iq Unified Manager Linux
NetApp Active Iq Unified Manager Vsphere
NetApp Active Iq Unified Manager Windows
NetApp Cloud Backup
NetApp Cloud Insights Storage Workload Security Agent
NetApp Hci Baseboard Management Controller
F5 BIG-IP>=17.5.0<=17.5.1, >=17.1.0<=17.1.3
17.5.1.617.1.3.2
F5 BIG-IP>=16.1.0<=16.1.6
F5 BIG-IP>=15.1.0<=15.1.10
F5 Traffix SDC=5.2.0
composer/components/jquery>=1.0.3, <3.5.0
3.5.0
jQuery JQuery
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/cacti<1.2.13-r0
1.2.13-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
alpine/drupal7<7.70-r0
7.70-r0
redhat/jquery<3.5.0
3.5.0
IBM API Connect<=V10.0.8.0 - V10.0.8.13
debian/node-jquery
3.5.0+dfsg-2
debian/znc<=1.8.2-3.1+deb12u1, <=1.8.2-3.1+deb12u2, <=1.9.1-2, <=1.9.1-2+deb13u1
1.10.3-1
debian/drupal7
7.52-2+deb9u10
debian/jquery
3.1.1-2+deb9u23.3.1~dfsg-3+deb10u1
debian/otrs2
6.0.16-2+deb10u16.0.30-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/qpid-dispatch to a version that resolves this vulnerability.

    Fixed in 0:1.13.0-3.el6_10
  2. Upgrade

    Upgrade redhat/qpid-dispatch to a version that resolves this vulnerability.

    Fixed in 0:1.13.0-3.el7
  3. Upgrade

    Upgrade redhat/qpid-dispatch to a version that resolves this vulnerability.

    Fixed in 0:1.13.0-3.el8
  4. Upgrade

    Upgrade redhat/kiali to a version that resolves this vulnerability.

    Fixed in 0:v1.12.10.redhat2-1.el7
  5. Upgrade

    Upgrade redhat/ior to a version that resolves this vulnerability.

    Fixed in 0:1.1.6-1.el8
  6. Upgrade

    Upgrade redhat/servicemesh to a version that resolves this vulnerability.

    Fixed in 0:1.1.6-1.el8
  7. Upgrade

    Upgrade redhat/servicemesh-cni to a version that resolves this vulnerability.

    Fixed in 0:1.1.6-1.el8
  8. Upgrade

    Upgrade redhat/servicemesh-grafana to a version that resolves this vulnerability.

    Fixed in 0:6.4.3-13.el8
  9. Upgrade

    Upgrade redhat/servicemesh-operator to a version that resolves this vulnerability.

    Fixed in 0:1.1.6-2.el8
  10. Upgrade

    Upgrade redhat/servicemesh-prometheus to a version that resolves this vulnerability.

    Fixed in 0:2.14.0-14.el8
  11. Upgrade

    Upgrade redhat/ipa to a version that resolves this vulnerability.

    Fixed in 0:4.6.8-5.el7_9.4
  12. Upgrade

    Upgrade redhat/pcs to a version that resolves this vulnerability.

    Fixed in 0:0.9.169-3.el7_9.3
  13. Upgrade

    Upgrade redhat/pcs to a version that resolves this vulnerability.

    Fixed in 0:0.10.10-4.el8
  14. Upgrade

    Upgrade redhat/eap7-hal-console to a version that resolves this vulnerability.

    Fixed in 0:3.3.16-1.Final_redhat_00001.1.el8ea
  15. Upgrade

    Upgrade redhat/eap7-hal-console to a version that resolves this vulnerability.

    Fixed in 0:3.3.16-1.Final_redhat_00001.1.el9ea
  16. Upgrade

    Upgrade redhat/eap7-hal-console to a version that resolves this vulnerability.

    Fixed in 0:3.3.16-1.Final_redhat_00001.1.el7ea
  17. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.6-1.redhat_00001.1.el7
  18. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.6-1.redhat_00001.1.el8
  19. Upgrade

    Upgrade redhat/rh-sso7-keycloak to a version that resolves this vulnerability.

    Fixed in 0:18.0.6-1.redhat_00001.1.el9
  20. Upgrade

    Upgrade redhat/ovirt-engine-ui-extensions to a version that resolves this vulnerability.

    Fixed in 0:1.2.2-1.el8e
  21. Upgrade

    Upgrade redhat/ovirt-web-ui to a version that resolves this vulnerability.

    Fixed in 0:1.6.4-1.el8e
  22. Upgrade

    Upgrade composer/components/jquery to a version that resolves this vulnerability.

    Fixed in 3.5.0
  23. Upgrade

    Upgrade npm/jquery to a version that resolves this vulnerability.

    Fixed in 3.5.0
  24. Upgrade

    Upgrade maven/org.webjars.npm:jquery to a version that resolves this vulnerability.

    Fixed in 3.5.0
  25. Upgrade

    Upgrade nuget/jQuery to a version that resolves this vulnerability.

    Fixed in 3.5.0
  26. Upgrade

    Upgrade rubygems/jquery-rails to a version that resolves this vulnerability.

    Fixed in 4.4.0
  27. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 17.5.1.617.1.3.2
  28. Upgrade

    Upgrade alpine/cacti to a version that resolves this vulnerability.

    Fixed in 1.2.13-r0
  29. Upgrade

    Upgrade alpine/drupal7 to a version that resolves this vulnerability.

    Fixed in 7.70-r0
  30. Upgrade

    Upgrade redhat/jQuery to a version that resolves this vulnerability.

    Fixed in 3.5.0
  31. Upgrade

    Upgrade debian/node-jquery to a version that resolves this vulnerability.

    Fixed in 3.5.0+dfsg-2
  32. Upgrade

    Upgrade debian/znc to a version that resolves this vulnerability.

    Fixed in 1.10.3-1
  33. Upgrade

    Upgrade debian/drupal7 to a version that resolves this vulnerability.

    Fixed in 7.52-2+deb9u10
  34. Upgrade

    Upgrade debian/jquery to a version that resolves this vulnerability.

    Fixed in 3.1.1-2+deb9u2Fixed in 3.3.1~dfsg-3+deb10u1
  35. Upgrade

    Upgrade debian/otrs2 to a version that resolves this vulnerability.

    Fixed in 6.0.16-2+deb10u1Fixed in 6.0.30-1
  36. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.5.0
  37. Compensating control

    Before passing untrusted HTML to a jQuery method, sanitize it with DOMPurify using its SAFE_FOR_JQUERY option.

  38. Compensating control

    Discontinue use of jQuery if mitigations are unavailable.

Event History

Apr 29, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via OSV·09:15 PM
DescriptionSeverityAffected Software
Advisory Published
10:19 PM
Data Sourced
via Packagist·10:19 PM
DescriptionSeverityAffected Software
Aug 3, 2020
Advisory Published
via F5·09:13 AM
Data Sourced
via F5·09:13 AM
DescriptionSeverityWeaknessAffected Software
Jul 16, 2021
Updated
12:00 AM
Affected Software
Updated
via IBM·12:00 AM
DescriptionAffected Software
Aug 13, 2021
Updated
via IBM·12:00 AM
Affected Software
Aug 31, 2021
Updated
12:00 AM
Affected Software
Oct 25, 2021
Updated
12:00 AM
DescriptionAffected Software
Dec 2, 2021
Updated
via IBM·12:00 AM
Affected Software
May 4, 2023
Updated
12:00 AM
Affected Software
Sep 1, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Oct 5, 2023
Updated
12:00 AM
Affected Software
Nov 7, 2023
Updated
via NVD·03:14 AM
RemedyAffected Software
Dec 15, 2023
Data Sourced
via Red Hat·06:15 PM
DescriptionSeverityAffected Software
Jan 3, 2024
Exploit Published
via GitHub·02:35 AM
Mar 19, 2024
Updated
via IBM·12:00 AM
Affected Software
May 15, 2024
Advisory Published
via GitHub·07:48 PM
Data Sourced
via GitHub·07:48 PM
DescriptionSeverityWeaknessAffected Software
May 28, 2024
Updated
via IBM·12:00 AM
Affected Software
Dec 17, 2024
Updated
via IBM·12:00 AM
DescriptionAffected Software
Jan 23, 2025
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Data Sourced
via NVD·09:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·09:15 PM
RemedyAffected Software
Jan 24, 2025
Updated
via NVD·02:00 AM
Affected Software
Updated
via NVD·02:00 AM
RemedyAffected Software
Jan 31, 2025
Updated
via GitHub·08:50 PM
Affected Software
Feb 5, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Apr 4, 2025
Updated
via NVD·07:53 PM
Affected Software
May 29, 2025
Advisory Published
via F5·01:20 AM
Aug 13, 2025
Updated
via F5·09:52 PM
DescriptionSeverityAffected Software
Aug 17, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Oct 21, 2025
Updated
via NVD·07:18 PM
Affected Software
Oct 22, 2025
Updated
via NVD·12:16 AM
Affected Software
Updated
via GitHub·05:52 PM
Severity
Apr 28, 2026
Updated
via F5·03:46 AM
Affected Software
Sep 22, 2026
Updated
via Ubuntu·12:00 AM
Description
Oct 23, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
DescriptionAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2020-11023?

CVE-2020-11023 has a moderate severity level, allowing potential execution of untrusted code via DOM manipulation methods in jQuery.

2

How do I fix CVE-2020-11023?

To mitigate CVE-2020-11023, upgrade to jQuery version 3.5.0 or later.

3

What versions of jQuery are affected by CVE-2020-11023?

CVE-2020-11023 affects all jQuery versions prior to 3.5.0.

4

What components use jQuery that may be affected by CVE-2020-11023?

Components using jQuery versions less than 3.5.0 are vulnerable, including numerous web applications and libraries.

5

Is there a patch available for CVE-2020-11023?

Yes, the patch for CVE-2020-11023 is included in jQuery version 3.5.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203