← Vulnerability feed

Vulnerability record · CVE-2020-11022 · published 29 April 2020

CVE-2020-11022: jQuery DOM manipulation methods allow XSS even after sanitization

Jquery · Jquery

jQuery versions 1.12.0 through 3.4.x execute untrusted code when HTML from untrusted sources is passed to DOM manipulation methods such as .html() and .append(), even if that HTML was previously sanitized. The flaw is a cross-site scripting issue patched in jQuery 3.5.0, and it matters because sanitization routines that defenders rely on do not prevent execution in affected versions.

6.1 CVSS 3.1 Medium EPSS 99% · top 0.1% CWE-79 · Cross-site scripting
6.1CVSS 3.1 base score, v2 4.3
99%EPSS exploitation probability, 30 days
NoNot in CISA KEV
70Affected product versions listed by NVD
90References, 1 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityThe flaw is a widely deployed library XSS with a very high EPSS score, though it requires user interaction and is not in KEV.

What it is

jQuery versions 1.12.0 through 3.4.x execute untrusted code when HTML from untrusted sources is passed to DOM manipulation methods such as .html() and .append(), even if that HTML was previously sanitized. The flaw is a cross-site scripting issue patched in jQuery 3.5.0, and it matters because sanitization routines that defenders rely on do not prevent execution in affected versions.

Impact

An attacker can execute arbitrary script in the context of a victim's browser session, enabling session theft, credential capture, or actions as the victim. The CVSS vector shows scope change with low confidentiality and integrity impact and no availability impact.

Attack surface

Reached over the network through web pages or applications that pass untrusted HTML into jQuery DOM manipulation methods; no authentication is required, but user interaction is required per the CVSS vector (UI:R).

Exploitation

Not listed in CISA KEV and no ransomware usage is documented, but EPSS is very high (0.99215 probability, 0.99934 percentile), indicating substantial observed exploitation likelihood; references include patch and mitigation advisories.

What to do

  • Upgrade jQuery to 3.5.0 or later, which patches this issue.
  • Update downstream products and packages that bundle jQuery (for example Drupal, Debian, Fedora, Oracle, NetApp, openSUSE) to versions containing the fix.
  • Audit application code for use of .html(), .append() and similar DOM manipulation methods with untrusted or user-supplied HTML.
  • Apply the mitigation guidance in the jQuery security advisory GHSA-gxr4-xjj5-5px2 where immediate upgrade is not possible.
  • Do not rely on HTML sanitizers alone to prevent this issue on affected jQuery versions.

Detection

  • Search source code and bundled libraries for jQuery versions between 1.12.0 and 3.4.x.
  • Monitor web application logs and client-side telemetry for script injection attempts targeting DOM manipulation sinks.
  • Review dependency manifests and SBOMs for jQuery and for downstream products listed as affected.
  • Check for unexpected script execution or DOM changes on pages that render user-supplied HTML.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

70 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://security.netapp.com/advisory/ntap-20200511-0006
https://blog.jquery.com/2020/04/10/jquery-3-5-0-released
https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77 PatchThird Party Advisory
https://github.com/jquery/jquery/releases/tag/3.5.0
https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2 MitigationThird Party Advisory
https://github.com/maximebf/php-debugbar/commit/847216e60544258c881f2733d699bbcfeefac0fc
https://github.com/maximebf/php-debugbar/issues/447
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-11022.yml
https://jquery.com/upgrade-guide/3.5
https://lists.apache.org/thread.html/r0483ba0072783c2e1bfea613984bfb3c86e73ba8879d780dc1cc7d36@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/r49ce4243b4738dd763caeb27fa8ad6afb426ae3e8c011ff00b8b1f48@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/r54565a8f025c7c4f305355fdfd75b68eca442eebdb5f31c2e7d977ae@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/r564585d97bc069137e64f521e68ba490c7c9c5b342df5d73c49a0760@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/r706cfbc098420f7113968cc377247ec3d1439bce42e679c11c609e2d@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/r8f70b0f65d6bedf316ecd899371fd89e65333bc988f6326d2956735c@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/rbb448222ba62c430e21e13f940be4cb5cfc373cd3bce56b48c0ffa67@%3Cdev.flink.apache.org%3
https://lists.apache.org/thread.html/rdf44341677cf7eec7e9aa96dcf3f37ed709544863d619cca8c36f133@%3Ccommits.airflow.apache
https://lists.apache.org/thread.html/re4ae96fa5c1a2fe71ccbb7b7ac1538bd0cb677be270a2bf6e2f8d108@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/rede9cfaa756e050a3d83045008f84a62802fc68c17f2b4eabeaae5e4@%3Cissues.flink.apache.or
https://lists.apache.org/thread.html/ree3bd8ddb23df5fa4e372d11c226830ea3650056b1059f3965b3fce2@%3Cissues.flink.apache.or
https://lists.debian.org/debian-lts-announce/2021/03/msg00033.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html
https://lists.fedoraproject.org/archives/list/[email protected]/message/AVKYXLWCLZBV2N7M46KYK4LVA
https://lists.fedoraproject.org/archives/list/[email protected]/message/QPN2L2XVQGUA2V5HNQJWHK3AP
https://lists.fedoraproject.org/archives/list/[email protected]/message/SAPQVX3XDNPGFT26QAQ6AJIXZ
https://lists.fedoraproject.org/archives/list/[email protected]/message/SFP4UK4EGP4AFH2MWYJ5A5Z4I
https://lists.fedoraproject.org/archives/list/[email protected]/message/VOE7P7APPRQKD4FGNHBKJPDY6
https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html
https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html
https://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.html
https://packetstormsecurity.com/files/162159/jQuery-1.2-Cross-Site-Scripting.html
https://security.gentoo.org/glsa/202007-03 Third Party Advisory
https://www.debian.org/security/2020/dsa-4693 Third Party Advisory
https://www.drupal.org/sa-core-2020-002 Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.html PatchThird Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html PatchThird Party Advisory
https://www.oracle.com/security-alerts/cpujan2021.html Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html PatchThird Party Advisory
https://www.oracle.com/security-alerts/cpujul2020.html Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2021.html

Track CVE-2020-11022 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-9082Drupal core SQL injection in unauthenticated request pathDrupal core contains a SQL injection flaw (CWE-89) caused by improper neutralization of special elements in SQL commands. It affects multiple core br…KEVEPSS 16%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed

Source: NIST National Vulnerability Database (record CVE-2020-11022), CISA KEV, FIRST EPSS (scores of 2026-09-25). This page is refreshed as NVD updates the record.