Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
☕
☕ Maven📦 npm.NET NuGet🐘 Packagist💎 RubyGems
Not in CISA KEV
MEDIUM severity

CVE-2020-11022 — jquery

MEDIUMFix: jquery/jquery@1d61fd9

CVE-2020-11022 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in org.webjars.npm:jquery. 8 public exploit references exist, so weaponization risk is real. A fix is available for org.webjars.npm:jquery — see the affected versions and patch details below.

Potential XSS vulnerability in jQuery

Also known asBIT-drupal-2020-11022GHSA-gxr4-xjj5-5px2
Published
Updated
Affected
7 pkgs
Patched
7 / 7
Exploits
8 known
Exploitation data as of Oct 27, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
99.2%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
0.00%33.3%66.7%100.0%3.3%99.2%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

CVE-2020-11022 by exploitation likelihood (EPSS) against impact (CVSS). Outside the shaded patch-first corner.

Where this sits among everything scored

Of 397,508 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

7 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

22Kother npm packages depend on this — each one inherits the vulnerability until it's patched upstream
jquerynpm
11.7Mdownloads / week

Description

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:

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.

Affected Packages

7 total 7 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.webjars.npm:jquery≥ 1.12.0&&< 3.5.03.5.0org.webjars.npm:jquery:3.5.0
📦npmjquery≥ 1.12.0&&< 3.5.03.5.0npm install jquery@3.5.0
.NETNuGetjquery≥ 1.12.0&&< 3.5.03.5.0dotnet add package jquery --version 3.5.0
🐘Packagistmaximebf/debugbarall versions1.19.0composer require maximebf/debugbar:^1.19.0
🐘Packagistathlon1600/youtube-downloaderall versions4.0.1composer require athlon1600/youtube-downloader:^4.0.1
🐘Packagistcomponents/jquery≥ 1.12.0&&< 3.5.03.5.0composer require components/jquery:^3.5.0

Affected Products

70 products · 198 configurations
OS
debian linuxdebian
1 version
9.0
Application
drupaldrupal
≥ 8.8.0 && < 8.8.6
range
OS
fedorafedoraproject
3 versions
313233
Application
jqueryjquery
≥ 1.2 && < 3.5.0
range
OS
h300e firmwarenetapp
all
OS
h300s firmwarenetapp
all
Exploits & PoCs
8

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-49766webappsmultiple

jQuery 1.2 - Cross-Site Scripting (XSS)

by Central InfoSec · Apr 14, 2021

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.webjars.npm:jquery, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update org.webjars.npm:jquery to 3.5.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-11022 is resolved across your whole dependency graph.

  3. Workarounds

    Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

No supported release of Red Hat OpenStack Platform is affected by this vulnerability as no shipped packages contain the vulnerable code.

ProductFixed inAdvisory
A-MQ Interconnect 1.y for RHEL 6qpid-dispatch-0:1.13.0-3.el6_10RHSA-2020:4211
Openshift Service Mesh 1.0jaeger-0:v1.13.1.redhat7-1.el7RHSA-2020:2362
Red Hat Ansible Tower 3.6 for RHEL 7ansible-tower-36/ansible-tower:3.6.7-1RHSA-2021:0778
Red Hat Ansible Tower 3.7 for RHEL 7ansible-tower-37/ansible-tower-rhel7:3.7.4-1RHSA-2020:5249
Red Hat Enterprise Linux 7ipa-0:4.6.8-5.el7RHSA-2020:3936
Red Hat Enterprise Linux 8idm:client-8030020200923172426.05ac3f11RHSA-2020:4670
Red Hat Enterprise Linux 8pki-core:10.6-8030020200911215836.5ff1562fRHSA-2020:4847
Red Hat JBoss Enterprise Application Platform 7.4.9org.jboss.hal/hal-console:3.3.16.Final-redhat-00001RHSA-2023:0556

Frequently Asked Questions

### 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-gu
O3 Security · Impact-Aware SCA

Is CVE-2020-11022 in your dependencies?

Find it across Maven, npm, NuGet, including transitive dependencies.

CVE-2020-11022: jquery — Fixed in 3.5.0