jQuery Probleme Sicherheit optimieren, Lösung?
Verfasst: Do 27. Jan 2022, 14:27
Ich habe vier schwerwiegende Probleme im jQuery von Mobi gefunden.
Wie kann ich diese schließen?
jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS)
4.3 CVE-2015-9251 attacks when a cross-domain Ajax request is performed without the N/A
dataType option, causing text/javascript responses to be executed.
jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype.
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.
In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, N/A jQuery passing HTML containing
Über Tips zum Thema würd eich mich freuen, danke.
Wie kann ich diese schließen?
jQuery before 3.0.0 is vulnerable to Cross-site Scripting (XSS)
4.3 CVE-2015-9251 attacks when a cross-domain Ajax request is performed without the N/A
dataType option, causing text/javascript responses to be executed.
jQuery before 3.4.0, as used in Drupal, Backdrop CMS, and other products, mishandles jQuery.extend(true, {}, ...) because of Object.prototype pollution. If an unsanitized source object contained an enumerable __proto__ property, it could extend the native Object.prototype.
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.
In jQuery versions greater than or equal to 1.0.3 and before 3.5.0, N/A jQuery passing HTML containing
Über Tips zum Thema würd eich mich freuen, danke.