diff --git a/public/libs/jquery-2.1.0.js b/public/libs/jquery-2.1.0.js index f74c103fde..5c9830e7c1 100644 --- a/public/libs/jquery-2.1.0.js +++ b/public/libs/jquery-2.1.0.js @@ -7666,6 +7666,11 @@ // Convert response if prev dataType is non-auto and differs from current } else if (prev !== "*" && prev !== current) { + // Mitigate possible XSS vulnerability (gh-2432) + if ( s.crossDomain && current === "script" ) { + continue; + } + // Seek a direct converter conv = converters[ prev + " " + current ] || converters[ "* " + current ];