diff --git a/src/scripts/libs/jquery-2.0.3.js b/src/scripts/libs/jquery-2.0.3.js index ebc6c187..9fd272bc 100644 --- a/src/scripts/libs/jquery-2.0.3.js +++ b/src/scripts/libs/jquery-2.0.3.js @@ -7554,6 +7554,11 @@ function ajaxConvert( s, response, jqXHR, isSuccess ) { // 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 ];