diff --git a/flash-vue-admin/public/bpmnjs/index.js b/flash-vue-admin/public/bpmnjs/index.js index 12a088ad..b3f9545a 100644 --- a/flash-vue-admin/public/bpmnjs/index.js +++ b/flash-vue-admin/public/bpmnjs/index.js @@ -60126,6 +60126,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 ];