Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion media/jui/js/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* http://jquery.org/license
*
* Date: 2016-05-20T17:17Z
*
* Modified by Joomla: Mitigate possible XSS vulnerability (gh-2432), CMS Issue 19464; Prevent Object Prototype Polution, https://github.com/jquery/jquery/pull/4333
*/

(function( global, factory ) {
Expand Down Expand Up @@ -210,7 +212,8 @@ jQuery.extend = jQuery.fn.extend = function() {
copy = options[ name ];

// Prevent never-ending loop
if ( target === copy ) {
// ADDED by Joomla: Prevent Object Prototype Polution, see https://github.com/jquery/jquery/pull/4333
if ( name === "__proto__" || target === copy ) {
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion media/jui/js/jquery.min.js

Large diffs are not rendered by default.