diff --git a/plugins/RemoteControl/webroot/js/require.js b/plugins/RemoteControl/webroot/js/require.js index 78490f91d525e..97a680a3231d3 100644 --- a/plugins/RemoteControl/webroot/js/require.js +++ b/plugins/RemoteControl/webroot/js/require.js @@ -109,6 +109,9 @@ var requirejs, require, define; function mixin(target, source, force, deepStringMixin) { if (source) { eachProp(source, function (value, prop) { + if (prop === '__proto__' || prop === 'constructor') { + return; + } if (force || !hasProp(target, prop)) { if (deepStringMixin && typeof value === 'object' && value && !isArray(value) && !isFunction(value) &&