Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2020-11022

MEDIUM 6.9PoCEPSS 100%

jQuery has a potential XSS vulnerability

Also known as BIT-drupal-2020-11022, EDB-49766, GHSA-gxr4-xjj5-5px2

Mitigation

  • Upgrade jquery to 3.5.0 or later.
  • Upgrade jquery-rails to 4.4.0 or later.
  • Upgrade org.webjars.npm:jquery to 3.5.0 or later.
  • Upgrade maximebf/debugbar to 1.19.0 or later.
  • Upgrade athlon1600/youtube-downloader to 4.0.1 or later.
  • Upgrade components/jquery to 3.5.0 or later.

Who should check

  • Projects that depend on npm package jquery (>= 1.12.0, < 3.5.0)
  • Projects that depend on NuGet package jquery (>= 1.12.0, < 3.5.0)
  • Projects that depend on RubyGems package jquery-rails (< 4.4.0)
  • Projects that depend on Maven package org.webjars.npm:jquery (>= 1.12.0, < 3.5.0)
  • Projects that depend on Packagist package maximebf/debugbar (< 1.19.0)
  • Projects that depend on Packagist package athlon1600/youtube-downloader (< 4.0.1)
  • Projects that depend on Packagist package components/jquery (>= 1.12.0, < 3.5.0)
  • Anyone running jQuery >= 1.12.0, < 3.5.0

Vulnerability facts

Affected
jquery >= 1.12.0, < 3.5.0; jquery >= 1.12.0, < 3.5.0; jquery-rails < 4.4.0; org.webjars.npm:jquery >= 1.12.0, < 3.5.0; maximebf/debugbar < 1.19.0; athlon1600/youtube-downloader < 4.0.1; components/jquery >= 1.12.0, < 3.5.0
Fixed in
3.5.0, 4.4.0, 1.19.0, 4.0.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
6.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
99.22% chance of exploitation in 30 days (percentile 100, 2026-11-26)
CWE
CWE-79
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm jquery>= 1.12.0, < 3.5.03.5.0osv
NuGet jquery>= 1.12.0, < 3.5.03.5.0osv
RubyGems jquery-rails< 4.4.04.4.0osv
Maven org.webjars.npm:jquery>= 1.12.0, < 3.5.03.5.0osv
Packagist maximebf/debugbar< 1.19.01.19.0osv
Packagist athlon1600/youtube-downloader< 4.0.14.0.1osv
Packagist components/jquery>= 1.12.0, < 3.5.03.5.0osv
jQuery>= 1.12.0, < 3.5.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2020-11022. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2020-11022.md
Affected: jquery >= 1.12.0, < 3.5.0; jquery >= 1.12.0, < 3.5.0; jquery-rails < 4.4.0; org.webjars.npm:jquery >= 1.12.0, < 3.5.0; maximebf/debugbar < 1.19.0; athlon1600/youtube-downloader < 4.0.1; components/jquery >= 1.12.0, < 3.5.0
Fixed in: 3.5.0, 4.4.0, 1.19.0, 4.0.1

Steps:
1. Search this machine and project for jquery (npm), jquery (NuGet), jquery-rails (RubyGems), org.webjars.npm:jquery (Maven), maximebf/debugbar (Packagist), athlon1600/youtube-downloader (Packagist): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

Other

FAQ

Is CVE-2020-11022 being exploited?

There is no confirmed exploitation: CVE-2020-11022 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 99.22% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2020-11022?

Medium: CVSS 6.9 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2020-11022?

jquery >= 1.12.0, < 3.5.0; jquery >= 1.12.0, < 3.5.0; jquery-rails < 4.4.0; org.webjars.npm:jquery >= 1.12.0, < 3.5.0; maximebf/debugbar < 1.19.0; athlon1600/youtube-downloader < 4.0.1; components/jquery >= 1.12.0, < 3.5.0.

Is there a fix for CVE-2020-11022?

Yes. Fixed in 3.5.0, 4.4.0, 1.19.0, 4.0.1. Upgrade jquery to 3.5.0 or later. Upgrade jquery-rails to 4.4.0 or later. Upgrade org.webjars.npm:jquery to 3.5.0 or later. Upgrade maximebf/debugbar to 1.19.0 or later. Upgrade athlon1600/youtube-downloader to 4.0.1 or later. Upgrade components/jquery to 3.5.0 or later.

How do I check if I'm affected by CVE-2020-11022?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors