CVE-2020-11022: jQuery has a potential XSS vulnerability

Published Apr 23, 2020
·
Updated

Impact 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.

Patches This problem is patched in jQuery 3.5.0.

Workarounds To workaround the issue without upgrading, adding the following to your code:

js jQuery.htmlPrefilter = function( html ) { return html; };

You need to use at least jQuery 1.12/2.2 or newer to be able to apply this workaround.

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

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 Cross-site scripting (XSS) vulnerability exists in JQuery. This flaw allows an attacker with the ability to supply input to the ‘HTML’ function to inject Javascript into the page where that input is rendered, and have it delivered by the browser.

A cross-site scripting (XSS) vulnerability in the htmlPrefilter method of jQuery before 3.5.0.

References:

https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/ https://github.com/jquery/jquery/pull/4642 https://github.com/jquery/jquery/pull/4647 https://seclists.org/fulldisclosure/2020/Apr/46

Upstream fix:

https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77

Red Hat

In jQuery starting with 1.12.0 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.

MITRE

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.

jQuery is vulnerable to cross-site scripting, caused by improper validation of user-supplied input by the jQuery.htmlPrefilter method. A remote attacker could exploit this vulnerability to inject malicious script into a Web page which would be executed in a victim's Web browser within the security context of the hosting Web site, once the page is viewed. An attacker could use this vulnerability to steal the victim's cookie-based authentication credentials.

IBM

Affected Software

180 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/jaeger<0:v1.13.1.redhat7-1.el7
0:v1.13.1.redhat7-1.el7
redhat/kiali<0:v1.0.11.redhat1-1.el7
0:v1.0.11.redhat1-1.el7
redhat/servicemesh-grafana<0:6.2.2-36.el8
0:6.2.2-36.el8
redhat/ipa<0:4.6.8-5.el7
0:4.6.8-5.el7
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/atomic-openshift-web-console<0:3.11.219-1.git.1.9b9b889.el7
0:3.11.219-1.git.1.9b9b889.el7
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
debian/node-jquery
3.5.1+dfsg+~3.5.5-73.6.1+dfsg+~3.5.14-1
debian/otrs2
6.0.32-6
composer/components/jquery>=1.2.0<3.5.0
3.5.0
composer/athlon1600/youtube-downloader<=4.0.0
composer/maximebf/debugbar<1.19.0
1.19.0
rubygems/jquery-rails<4.4.0
4.4.0
maven/org.webjars.npm:jquery>=1.2.0<3.5.0
3.5.0
nuget/jquery>=1.2.0<3.5.0
3.5.0
npm/jquery>=1.2.0<3.5.0
3.5.0
IBM ApplinX<=11.1
jQuery JQuery>=1.2<3.5.0
Drupal Drupal>=7.0<7.70
Drupal Drupal>=8.7.0<8.7.14
Drupal Drupal>=8.8.0<8.8.6
Debian Debian Linux=9.0
Fedoraproject Fedora=31
Fedoraproject Fedora=32
Fedoraproject Fedora=33
Oracle Agile Product Lifecycle Management for Process=6.2.0.0
Oracle Application Testing Suite=13.3.0.1
Oracle Banking Digital Experience=18.1
Oracle Banking Digital Experience=18.2
Oracle Banking Digital Experience=18.3
Oracle Banking Digital Experience=19.1
Oracle Banking Digital Experience=19.2
Oracle Banking Digital Experience=20.1
Oracle Blockchain Platform<21.1.2
Oracle Communications Application Session Controller=3.8m0
Oracle Communications Billing and Revenue Management=7.5.0.23.0
Oracle Communications Billing and Revenue Management=12.0.0.3.0
Oracle Communications Diameter Signaling Router Idih\>=8.0.0<=8.2.2
Oracle Communications EAGLE Application Processor>=16.1.0<=16.4.0
Oracle Communications Services Gatekeeper=7.0
Oracle Communications WebRTC Session Controller=7.2
Oracle Enterprise Manager Ops Center=12.4.0.0
Oracle Enterprise Session Border Controller=8.4
Oracle Financial Services Analytical Applications Infrastructure>=8.0.6.0.0<=8.1.0.0.0
Oracle Financial Services Analytical Applications Reconciliation Framework>=8.0.6<=8.0.8
Oracle Financial Services Analytical Applications Reconciliation Framework=8.1.0
Oracle Financial Services Asset Liability Management=8.0.6
Oracle Financial Services Asset Liability Management=8.0.7
Oracle Financial Services Asset Liability Management=8.1.0
Oracle Financial Services Balance Sheet Planning=8.0.8
Oracle Financial Services Basel Regulatory Capital Basic>=8.0.6<=8.0.8
Oracle Financial Services Basel Regulatory Capital Basic=8.1.0
Oracle Financial Services Basel Regulatory Capital Internal Ratings Based Approach>=8.0.6<=8.0.8
Oracle Financial Services Basel Regulatory Capital Internal Ratings Based Approach=8.1.0
Oracle Financial Services Data Foundation>=8.0.6<=8.1.0
Oracle Financial Services Data Governance For Us Regulatory Reporting>=8.0.6<=8.0.9
Oracle Financial Services Data Integration Hub=8.0.6
Oracle Financial Services Data Integration Hub=8.0.7
Oracle Financial Services Data Integration Hub=8.1.0
Oracle Financial Services Funds Transfer Pricing=8.0.6
Oracle Financial Services Funds Transfer Pricing=8.0.7
Oracle Financial Services Funds Transfer Pricing=8.1.0
Oracle Financial Services Hedge Management and IFRS Valuations>=8.0.6<=8.0.8
Oracle Financial Services Hedge Management and IFRS Valuations=8.1.0
Oracle Financial Services Institutional Performance Analytics=8.0.6
Oracle Financial Services Institutional Performance Analytics=8.0.7
Oracle Financial Services Institutional Performance Analytics=8.1.0
Oracle Financial Services Liquidity Risk Management=8.0.6
Oracle Financial Services Liquidity Risk Measurement and Management=8.0.7
Oracle Financial Services Liquidity Risk Measurement and Management=8.0.8
Oracle Financial Services Liquidity Risk Measurement and Management=8.1.0
Oracle Financial Services Loan Loss Forecasting and Provisioning>=8.0.6<=8.0.8
Oracle Financial Services Loan Loss Forecasting and Provisioning=8.1.0
Oracle Financial Services Market Risk Measurement and Management=8.0.6
Oracle Financial Services Market Risk Measurement and Management=8.0.8
Oracle Financial Services Price Creation and Discovery=8.0.6
Oracle Financial Services Price Creation and Discovery=8.0.7
Oracle Financial Services Profitability Management=8.0.6
Oracle Financial Services Profitability Management=8.0.7
Oracle Financial Services Profitability Management=8.1.0
Oracle Financial Services Regulatory Reporting For European Banking Authority>=8.0.6<=8.1.0
Oracle Financial Services Regulatory Reporting For Us Federal Reserve>=8.0.6<=8.0.9
Oracle Healthcare Foundation=7.1.1
Oracle Healthcare Foundation=7.2.0
Oracle Healthcare Foundation=7.2.1
Oracle Healthcare Foundation=7.3.0
Oracle Hospitality Materials Control=18.1
Oracle Hospitality Simphony>=19.1.0<=19.1.2
Oracle Hospitality Simphony=18.1
Oracle Hospitality Simphony=18.2
Oracle Insurance Accounting Analyzer=8.0.9
Oracle Insurance Allocation Manager For Enterprise Profitability=8.0.8
Oracle Insurance Allocation Manager For Enterprise Profitability=8.1.0
Oracle Insurance Data Foundation>=8.0.6<=8.1.0
Oracle Insurance Insbridge Rating And Underwriting>=5.0.0.0<=5.6.0.0
Oracle Insurance Insbridge Rating And Underwriting=5.6.1.0
Oracle JDeveloper=11.1.1.9.0
Oracle JDeveloper=12.2.1.3.0
Oracle JDeveloper=12.2.1.4.0
Oracle PeopleSoft Enterprise PeopleTools=8.56
Oracle PeopleSoft Enterprise PeopleTools=8.57
Oracle PeopleSoft Enterprise PeopleTools=8.58
Oracle Policy Automation>=12.2.0<=12.2.20
Oracle Policy Automation Connector For Siebel=10.4.6
Oracle Policy Automation For Mobile Devices>=12.2.0<=12.2.20
Oracle Retail Back Office=14.0
Oracle Retail Back Office=14.1
Oracle Retail Customer Management and Segmentation Foundation=19.0
Oracle Retail Returns Management=14.0
Oracle Retail Returns Management=14.1
Oracle Siebel UI Framework=20.8
Oracle Storagetek Acsls=8.5.1
Oracle WebLogic Server=10.3.6.0.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 Max Data
NetApp OnCommand Insight
NetApp OnCommand System Manager>=3.0<=3.1.3
NetApp Snap Creator Framework
NetApp Snapcenter
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
openSUSE Leap=15.1
openSUSE Leap=15.2
Tenable Log Correlation Engine<6.0.9
Oracle Agile Product Supplier Collaboration For Process=6.2.0.0
Oracle Banking Digital Experience>=18.1<=20.1
Oracle Financial Services Analytical Applications Infrastructure>=8.0.6<=8.1.0
Oracle Hospitality Simphony=19.1.0-19.1.2
Oracle Insurance Data Foundation=8.0.6-8.1.0
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
F5 BIG-IP>=17.5.0<=17.5.1, >=17.1.0<=17.1.3
17.5.1.417.1.3.1
F5 BIG-IP>=16.1.0<=16.1.6
F5 BIG-IP>=15.1.0<=15.1.10
F5 Traffix SDC=5.2.0
redhat/jquery<3.5.0
3.5.0
composer/components/jquery>=1.12.0<3.5.0
3.5.0
maven/org.webjars.npm:jquery>=1.12.0<3.5.0
3.5.0
nuget/jquery>=1.12.0<3.5.0
3.5.0
npm/jquery>=1.12.0<3.5.0
3.5.0

Event History

Apr 23, 2020
CVE Published
12:00 AM
Apr 27, 2020
Data Sourced
via Red Hat·04:59 PM
DescriptionSeverityAffected Software
Apr 29, 2020
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·10:18 PM
Data Sourced
via GitHub·10:18 PM
DescriptionSeverityWeaknessAffected Software
Aug 3, 2020
Advisory Published
via F5·08:47 AM
Data Sourced
via F5·08:47 AM
DescriptionSeverityWeaknessAffected Software
Jan 30, 2025
Data Sourced
via Ubuntu·05:07 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·05:08 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2020-11022?

CVE-2020-11022 is classified as a moderate severity vulnerability.

2

How do I fix CVE-2020-11022?

To fix CVE-2020-11022, upgrade to jQuery version 3.5.0 or later.

3

What types of attacks are possible with CVE-2020-11022?

CVE-2020-11022 allows for the execution of untrusted code via jQuery DOM manipulation methods.

4

Which applications are affected by CVE-2020-11022?

Applications using jQuery prior to version 3.5.0 are vulnerable to CVE-2020-11022.

5

Is there a workaround for CVE-2020-11022?

The recommended solution is to upgrade jQuery, as specific workarounds may vary based on implementation.

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