PT-2020-4638
CVE-2020-11022
·
تاريخ النشر
2020-04-29
·
تاريخ التحديث
2026-10-31
الوصف من
CVSS 3.1
6.9
متوسطةالمقاييسAV: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.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾