diff --git a/vendor/jquery-1.11.0.js b/vendor/jquery-1.11.0.js index c5d7bd1..8e50fff 100644 --- a/vendor/jquery-1.11.0.js +++ b/vendor/jquery-1.11.0.js @@ -8802,6 +8802,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 ];