PT-2020-4638

CVE-2020-11022

·

Published

2020-04-29

·

Updated

2026-10-31

Description by

CVSS 3.1
6.9
Medium
MetricsAV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N
Name of the Vulnerable Software and Affected Versions jQuery versions 1.2 through 3.5.0
Description The issue is related to the execution of untrusted code when passing HTML from untrusted sources to jQuery's DOM manipulation methods, such as .html(), .append(), and others, even after sanitizing the HTML. This may allow a remote attacker to compromise the integrity of protected information.
Recommendations For jQuery versions 1.12/2.2 or newer: To workaround the issue without upgrading, add the following code:
js
jQuery.htmlPrefilter = function( html ) {
  return html;
};
For all affected versions: Upgrade to jQuery 3.5.0 to patch the issue.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-GXR4-XJJ5-5PX2
ALSA-2020:4670
ALSA-2020_4670
ALSA-2021_1846
ALSA-2021_4142
ALSA-2025_1210
ALSA-2025_1215
ALSA-2025_1300
ALSA-2025_1301
ALSA-2025_1306
ALSA-2025_1309
ALSA-2025_1314
ALSA-2025_1329
ALSA-2025_1338
ALSA-2025_1346
ALSA-2025_16880
ALT-PU-2020-3078
ALT-PU-2020-3096
BIT-DRUPAL-2020-11022
CESA-2020_3936
CESA-2020_4670
CESA-2020_4847
CLEANSTART-2024-RZ90919
CLEANSTART-2024-SR87769
DLA-2608-1
DLA-3551-1
DSA-4693-1
ELSA-2020-3936
ELSA-2020-4670
ELSA-2020-4847
ELSA-2022-9177
OPENSUSE-SU-2020:1060-1
OPENSUSE-SU-2020_1060-1
OPENSUSE-SU-2020:1106-1
OPENSUSE-SU-2020:1888-1
OPENSUSE-SU-2020_1888-1
OPENSUSE-SU-2024:10670-1
OPENSUSE-SU-2024:12107-1
OPENSUSE-SU-2026:10764-1
OPENSUSE-SU-2026:11782-1
RHSA-2020:2217
RHSA-2020:2362
RHSA-2020:3247
RHSA-2020:3807
RHSA-2020:3936
RHSA-2020_3936
RHSA-2020:4211
RHSA-2020:4670
RHSA-2020_4670
RHSA-2020:4847
RHSA-2020_4847
RHSA-2022:6393
RHSA-2023:0552
RHSA-2023:0553
RHSA-2023:0554
RHSA-2023:1043
RHSA-2023:1044
RHSA-2023:1045
RLSA-2020:4670
RLSA-2020_4670
RLSA-2020:4847
RLSA-2020_4847
ROSA-SA-2025-2760
SUSE-RU-2020:2373-1
SUSE-SU-2020:2292-1
SUSE-SU-2020:2373-1
SUSE-SU-2020:2650-1
USN-7246-1
USN-7622-1
USN-7658-1
Found an issue in the description? Have something to add? Feel free to write us 👾