jQuery
Potential XSS vulnerability in jQuery
In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, passing HTML containing <option> elements 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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 1.0.3, < 3.5.0
Fixed in 3.5.0
from GitHub Security Advisory GHSA-jpcq-cgw6-v4j6
- >= 1.0.3, < 3.5.0
Fixed in 3.5.0
from GitHub Security Advisory GHSA-jpcq-cgw6-v4j6
Mitigation
Upgrade jquery to 3.5.0 or later.
Upgrade jquery-rails to 4.4.0 or later.
Upgrade jQuery to 3.5.0 or later.
Upgrade org.webjars.npm:jquery to 3.5.0 or later.
Upgrade components/jquery to 3.5.0 or later.
Timeline
Days relative to CVE publicationFirst public PoC 320 days after publication; added to CISA KEV 4.7 years after publication. First PoC: AssassinUKG/XSSPlayground (created 14 Mar 2021, found by us: backfilled).
PoC repositories
Found on GitHub.4 PoCs · 4 informational · 1 suspicious or fake
PoCs 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| AssassinUKG/XSSPlayground | 14 Mar 2021 +320 d | 31 | PoC via PoC Index |
| honeyb33z/cve-2020-11023-scanner | 30 Jan 2025 +4.8 y | 4 | Scanner |
| LSP1025923/CVE | 23 Mar 2025 +4.9 y | 0 | PoC via PoC Index |
| asoka666/Cve-2020-11023 | 14 Jul 2026 +6.2 y | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Informational 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Snorlyd/https-nj.gov---CVE-2020-11023 | 23 May 2022 +2.1 y | 1 | Informational · write-up |
| Cybernegro/CVE-2020-11023 | 3 Jan 2024 +3.7 y | 5 | Informational · write-up
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| andreassundstrom/cve-2020-11023-demonstration | 13 Apr 2024 +4.0 y | 0 | Informational · write-up |
| GarlicB/jquery35-local-agent | 5 Jul 2026 +6.2 y | 1 | Informational · detection |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 0xAJ2K/CVE-2020-11022-CVE-2020-11023 | 16 Oct 2021 +1.5 y | 34 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | jQuery 1.0.3 - Cross-Site Scripting (XSS) | 14 Apr 2021 | 14 Nov 2026 |