Loading HuntDB...

CVE-2020-11022

MEDIUM
Published 2020-04-29T00:00:00
Actions:

Expert Analysis

Professional remediation guidance

Get tailored security recommendations from our analyst team for CVE-2020-11022. We'll provide specific mitigation strategies based on your environment and risk profile.

CVSS Score

V3.1
6.9
/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
Base Score Metrics
Exploitability: N/A Impact: N/A

EPSS Score

v2025.03.14
0.026
probability
of exploitation in the wild

There is a 2.6% chance that this vulnerability will be exploited in the wild within the next 30 days.

Updated: 2025-06-25
Exploit Probability
Percentile: 0.850
Higher than 85.0% of all CVEs

Attack Vector Metrics

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED

Impact Metrics

Confidentiality
HIGH
Integrity
LOW
Availability
NONE

Description

In jQuery versions greater than or equal to 1.2 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.

Available Exploits

No exploits available for this CVE.

Related News

No news articles found for this CVE.

Affected Products

GitHub Security Advisories

Community-driven vulnerability intelligence from GitHub

✓ GitHub Reviewed MODERATE

Potential XSS vulnerability in jQuery

GHSA-gxr4-xjj5-5px2

Advisory Details

### Impact 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. ### Patches This problem is patched in jQuery 3.5.0. ### Workarounds To workaround the issue without upgrading, adding the following to your code: ```js jQuery.htmlPrefilter = function( html ) { return html; }; ``` You need to use at least jQuery 1.12/2.2 or newer to be able to apply this workaround. ### References https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/ https://jquery.com/upgrade-guide/3.5/ ### For more information If you have any questions or comments about this advisory, search for a relevant issue in [the jQuery repo](https://github.com/jquery/jquery/issues). If you don't find an answer, open a new issue.

Affected Packages

npm jquery
ECOSYSTEM: ≥1.2.0 <3.5.0
NuGet jquery
ECOSYSTEM: ≥1.2.0 <3.5.0
RubyGems jquery-rails
ECOSYSTEM: ≥0 <4.4.0
Maven org.webjars.npm:jquery
ECOSYSTEM: ≥1.2.0 <3.5.0
Packagist maximebf/debugbar
ECOSYSTEM: ≥0 <1.19.0
Packagist athlon1600/youtube-downloader
ECOSYSTEM: ≥0 ≤4.0.0
Packagist components/jquery
ECOSYSTEM: ≥1.2.0 <3.5.0

CVSS Scoring

CVSS Score

5.0

CVSS Vector

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

References

Advisory provided by GitHub Security Advisory Database. Published: April 29, 2020, Modified: January 31, 2025

Social Media Intelligence

Real-time discussions and threat intelligence from social platforms

1 post
Reddit 2 months, 4 weeks ago
_cybersecurity_

New Cybersecurity Vulnerability in Hitachi Energy's MSM Could Put Critical Infrastructure at Risk **A serious cross-site scripting vulnerability has been identified in Hitachi Energy's Modular Switchgear Monitoring system, potentially allowing remote attackers to execute untrusted code.** **Key Points:** - Vulnerability involves improper neutralization of input during web page generation. - …

References

HackerOne Reports

greymanx1
Reddit
Cross-site Scripting (XSS) - Reflected
Published: 2020-04-29T00:00:00
Last Modified: 2024-08-04T11:21:14.453Z
Copied to clipboard!