# CVE-2020-11022: jQuery has a potential XSS vulnerability

> An attacker can execute arbitrary JavaScript code by passing untrusted HTML to jQuery DOM manipulation methods, affecting web applications using vulnerable versions.

- **Severity:** Medium 6.9 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 29 Apr 2020
- **Updated:** 13 Apr 2026
- **Also known as:** BIT-drupal-2020-11022, CLEANSTART-2024-SR87769, CLSA-2026-1784596271, CLSA-2026-1792764670, DEBIAN-CVE-2020-11022, GHSA-gxr4-xjj5-5px2, RHSA-2020:2217, SUSE-SU-2020:2292-1, SUSE-SU-2020:2373-1, UBUNTU-CVE-2020-11022, openSUSE-SU-2024:12107-1, openSUSE-SU-2026:10764-1

## What is CVE-2020-11022?

CVE-2020-11022 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 29 Apr 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official 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.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2020-11022?

15 open source packages ship an affected version, including jquery, drupal and org.webjars.npm:jquery. It affects 70 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `jquery` | NuGet | From 1.12.0 | 3.5.0 |
| `jquery` | NuGet | From 1.12.0 | 3.5.0 |
| `jquery` | npm | From 1.12.0 | 3.5.0 |
| `jquery` | npm | From 1.12.0 | 3.5.0 |
| `drupal` | Bitnami | From 7.0.0 | 7.70.0, 8.7.14, 8.8.6 |
| `org.webjars.npm:jquery` | Maven | From 1.12.0 | 3.5.0 |
| `org.webjars.npm:jquery` | Maven | From 1.12.0 | 3.5.0 |
| `athlon1600/youtube-downloader` | Packagist | All versions | 4.0.1 |
| `athlon1600/youtube-downloader` | Packagist | All versions | 4.0.1 |
| `components/jquery` | Packagist | From 1.12.0 | 3.5.0 |
| `components/jquery` | Packagist | From 1.12.0 | 3.5.0 |
| `maximebf/debugbar` | Packagist | All versions | 1.19.0 |
| `maximebf/debugbar` | Packagist | All versions | 1.19.0 |
| `jquery-rails` | RubyGems | All versions | 4.4.0 |
| `jquery-rails` | RubyGems | All versions | 4.4.0 |
| `atomic-openshift-web-console` | Red Hat:openshift:3.11::el7 | All versions | 0:3.11.219-1.git.1.9b9b889.el7 |
| `release-notes-susemanager-proxy` | SUSE:Manager Proxy 3.2 | All versions | 3.2.15-0.16.47.1 |
| `spacewalk-backend` | SUSE:Manager Proxy 3.2 | All versions | 2.8.57.23-3.51.1 |
| `spacewalk-client-tools` | SUSE:Manager Proxy 3.2 | All versions | 2.8.22.8-3.15.1 |
| `spacewalk-proxy-installer` | SUSE:Manager Proxy 3.2 | All versions | 2.8.6.8-3.18.1 |
| `spacewalk-web` | SUSE:Manager Proxy 3.2 | All versions | 2.8.7.24-3.48.1 |
| `zypp-plugin-spacewalk` | SUSE:Manager Proxy 3.2 | All versions | 1.0.7-3.13.1 |
| `golang-github-QubitProducts-exporter_exporter` | SUSE:Manager Proxy Module 4.1 | All versions | 0.4.0-6.3.6 |
| `mgr-osad` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.3-2.3.6 |
| `patterns-suse-manager` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1-6.3.6 |
| `spacecmd` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.6-4.3.6 |
| `spacewalk-backend` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.14-4.5.2 |
| `spacewalk-certs-tools` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.12-3.3.6 |
| `spacewalk-proxy` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.2-3.3.6 |
| `spacewalk-web` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.15-3.3.6 |
| `suseRegisterInfo` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.3-4.3.6 |
| `uyuni-common-libs` | SUSE:Manager Proxy Module 4.1 | All versions | 4.1.6-3.3.6 |
| `bind-formula` | SUSE:Manager Server 3.2 | All versions | 0.1.1584363976.36bce64-3.6.1 |
| `branch-network-formula` | SUSE:Manager Server 3.2 | All versions | 0.1.1584363976.36bce64-3.9.1 |
| `py26-compat-salt` | SUSE:Manager Server 3.2 | All versions | 2016.11.10-6.38.1 |
| `python-susemanager-retail` | SUSE:Manager Server 3.2 | All versions | 1.0.1584363976.36bce64-2.12.1 |
| `release-notes-susemanager` | SUSE:Manager Server 3.2 | All versions | 3.2.15-6.61.1 |
| `spacewalk-backend` | SUSE:Manager Server 3.2 | All versions | 2.8.57.23-3.51.1 |
| `spacewalk-client-tools` | SUSE:Manager Server 3.2 | All versions | 2.8.22.8-3.15.1 |
| `spacewalk-java` | SUSE:Manager Server 3.2 | All versions | 2.8.78.29-3.50.1 |

Products: Debian Debian Linux, Drupal Drupal, Fedoraproject Fedora, Jquery Jquery, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware, Netapp H500e Firmware, Netapp H500s Firmware, Netapp H700e Firmware, Netapp H700s Firmware, Netapp Max Data, Netapp Oncommand Insight, Netapp Oncommand System Manager, Netapp Snap Creator Framework, Netapp Snapcenter, Opensuse Leap, Oracle Agile Product Lifecycle Management for Process, Oracle Agile Product Supplier Collaboration for Process and 50 more.

## How do I fix CVE-2020-11022?

Upgrade jquery to 3.5.0 or later.

## Is CVE-2020-11022 being exploited?

There is no known exploitation of CVE-2020-11022 in the wild and no public exploit code.

Public exploit code:

- Little thing put together quickly to demonstrate this CVE  (github_poc): https://github.com/0xAJ2K/CVE-2020-11022-CVE-2020-11023
- Vulnearability Report of the New Jersey official site (github_poc): https://github.com/Snorlyd/https-nj.gov---CVE-2020-11022
- jQuery 1.2 - Cross-Site Scripting (XSS) (exploitdb)
- Домашняя работа по Pyton № 10 CVE-2020-11022  Краткое описание  CVE-2020-11022 — уязвимость типа Reflected XSS (межсайтовый скриптинг), связанная с некорректной обработкой пользовательского ввода, который отражается в HTML-ответе без экранирования. Атакующий может внедрить JavaScript-код, который выполнится в браузере пользователя. (github_poc): https://github.com/okni2k/HW-Pyton-10

## Other vulnerabilities in Debian Debian Linux

- [CVE-2015-3306](https://insights.sbomify.com/CVE-2015-3306/): ProFTPD Improper Access Control (critical 10.0, exploited in the wild)
- [CVE-2025-49113](https://insights.sbomify.com/CVE-2025-49113/): RoundCube Webmail Deserialization of Untrusted Data (critical 9.9, exploited in the wild)
- [CVE-2026-24061](https://insights.sbomify.com/CVE-2026-24061/): GNU InetUtils Argument Injection (critical 9.8, exploited in the wild)
- [CVE-2025-39682](https://insights.sbomify.com/CVE-2025-39682/): Linux Kernel Improper Check for Unusual or Exceptional Conditions (critical 9.8, exploited in the wild)
- [CVE-2024-9680](https://insights.sbomify.com/CVE-2024-9680/): Mozilla Firefox Use-After-Free (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2020-11022 and fix it if it is affected.

What it is: CVE-2020-11022 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 29 Apr 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2020-11022 in the wild and no public exploit code.

Affected packages and fixed versions:
- jquery (NuGet): affected from 1.12.0; fixed in 3.5.0
- jquery (NuGet): affected from 1.12.0; fixed in 3.5.0
- jquery (npm): affected from 1.12.0; fixed in 3.5.0
- jquery (npm): affected from 1.12.0; fixed in 3.5.0
- drupal (Bitnami): affected from 7.0.0; fixed in 7.70.0, 8.7.14, 8.8.6
- org.webjars.npm:jquery (Maven): affected from 1.12.0; fixed in 3.5.0
- org.webjars.npm:jquery (Maven): affected from 1.12.0; fixed in 3.5.0
- athlon1600/youtube-downloader (Packagist): affected all versions; fixed in 4.0.1
- athlon1600/youtube-downloader (Packagist): affected all versions; fixed in 4.0.1
- components/jquery (Packagist): affected from 1.12.0; fixed in 3.5.0
- components/jquery (Packagist): affected from 1.12.0; fixed in 3.5.0
- maximebf/debugbar (Packagist): affected all versions; fixed in 1.19.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2020-11022/ (Markdown: https://insights.sbomify.com/CVE-2020-11022/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2020-11022
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2020-11022
- OSV: https://osv.dev/vulnerability/CVE-2020-11022

---
From sbomify Insights: https://insights.sbomify.com/CVE-2020-11022/
Summaries are generated and may contain mistakes; the official description above is the record.
