diff --git a/src/main/resources/static/editor-app/libs/jquery_1.11.0/jquery.js b/src/main/resources/static/editor-app/libs/jquery_1.11.0/jquery.js index c5c64825..0de1a023 100644 --- a/src/main/resources/static/editor-app/libs/jquery_1.11.0/jquery.js +++ b/src/main/resources/static/editor-app/libs/jquery_1.11.0/jquery.js @@ -8388,6 +8388,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 ];