CVE-2020-11022
jQuery has a potential XSS vulnerability
Reported by github_m · Published April 29, 2020
jquery is fixed in 3.5.0 (NuGet)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| jquery | NuGet | 3.5.0 |
| drupal/drupal | Packagist | 8.8.6, 8.7.14, 7.70 |
| jquery-rails | RubyGems | 4.4.0 |
| org.webjars.npm:jquery | Maven Central | 3.5.0 |
| drupal/core | Packagist | 8.8.6, 8.7.14, 7.70 |
| components/jquery | Packagist | 3.5.0 |
| rdoc | RubyGems | 3.5.0 |
| athlon1600/youtube-downloader | Packagist | 4.0.1, 4.0.0 |
| maximebf/debugbar | Packagist | 1.19.0 |
| drupal/core-recommended | Packagist | 8.8.6, 8.7.14, 7.70 |
| jquery | npm | 3.5.0 |
| cacti | Alpine | 1.2.13-r0 |
37 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| jquery | jQuery | >= 1.12.0, < 3.5.0 |
| jquery | jQuery | 1.12.0 |
Timeline
- Apr 29, 2020 CVE Published
- Apr 29, 2020 PoC Published (46 in total, the first dated here)
- Nov 2, 2020 VulnCheck XDB Entry (6 in total, the first dated here)
- Jan 21, 2021 VulnCheck KEV Exploitation (2 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (101 in total, the first dated here)
- Mar 6, 2026 Security Advisory (120 in total, the first dated here)
- Sep 6, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-11022
vulnetix vdb fixes CVE-2020-11022
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-11022/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2 x_refsource_CONFIRM
- https://github.com/maximebf/php-debugbar/issues/447 x_refsource_MISC
- https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77 x_refsource_MISC
- https://github.com/maximebf/php-debugbar/commit/847216e60544258c881f2733d699bbcfeefac0fc x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VOE7P7APPRQKD4FGNHBKJPDY6FFCOH3W x_refsource_MISC
- https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00067.html x_refsource_MISC
- https://lists.opensuse.org/opensuse-security-announce/2020-07/msg00085.html x_refsource_MISC
- https://lists.opensuse.org/opensuse-security-announce/2020-11/msg00039.html x_refsource_MISC
- https://packetstormsecurity.com/files/162159/jQuery-1.2-Cross-Site-Scripting.html x_refsource_MISC
- https://security.gentoo.org/glsa/202007-03 x_refsource_MISC
- https://www.debian.org/security/2020/dsa-4693 x_refsource_MISC
- https://www.drupal.org/sa-core-2020-002 x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuApr2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2020.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2021.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC
- https://www.oracle.com/security-alerts/cpuoct2020.html x_refsource_MISC
…and 51 more