1 diff --git a/resources/lib/jquery/jquery.js b/resources/lib/jquery/jquery.js
2 index 9b5206bcc6..34a5703d80 100644
3 --- a/resources/lib/jquery/jquery.js
4 +++ b/resources/lib/jquery/jquery.js
5 @@ -261,8 +261,9 @@ jQuery.extend = jQuery.fn.extend = function() {
7 copy = options[ name ];
9 + // Prevent Object.prototype pollution
10 // Prevent never-ending loop
11 - if ( target === copy ) {
12 + if ( name === "__proto__" || target === copy ) {