Cross-site scriptingin JQuery.
Proof of concept public (Exploit-DB).
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.
- Upgrade jQuery to 3.5.0 or later.
- Upgrade jquery (npm) to 3.5.0 or later.
- Upgrade jquery (NuGet) to 3.5.0 or later.
- Upgrade jquery-rails (RubyGems) to 4.4.0 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Mar 2020CVE ID reserved by GitHub_M.
- 29 Apr 2020Published in the CVE List.
- 16 Oct 2021First public proof of concept on GitHub.
- 2 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other JQuery vulnerabilities
Same weakness: Cross-site scripting
- github.com x_refsource_CONFIRM
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- lists.fedoraproject.org x_refsource_MISC
- lists.opensuse.org x_refsource_MISC
- lists.opensuse.org x_refsource_MISC
- lists.opensuse.org x_refsource_MISC
- packetstormsecurity.com x_refsource_MISC
- security.gentoo.org x_refsource_MISC
- www.debian.org x_refsource_MISC
- www.drupal.org x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.oracle.com x_refsource_MISC
- www.tenable.com x_refsource_MISC
- www.tenable.com x_refsource_MISC
- www.tenable.com x_refsource_MISC
- www.tenable.com x_refsource_MISC
- blog.jquery.com x_refsource_MISC
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- jquery.com x_refsource_MISC
- lists.apache.org x_refsource_MISC
Patchminder. CVE-2020-11022: Cross-site scripting in JQuery. https://patchminder.com/cve/cve-2020-11022/ (accessed 5 December 2026).