From 1f55cab32d934b620888aef40c2c4f3a6bcbff57 Mon Sep 17 00:00:00 2001 From: npt-1707 Date: Mon, 30 Mar 2026 01:26:59 +0800 Subject: [PATCH] code/jeeplatform-admin/src/main/webapp/plugins/ueditor1_4_3_2/third-party/jquery-1.10.2.js: Mitigate possible XSS vulnerability --- .../plugins/ueditor1_4_3_2/third-party/jquery-1.10.2.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/jeeplatform-admin/src/main/webapp/plugins/ueditor1_4_3_2/third-party/jquery-1.10.2.js b/code/jeeplatform-admin/src/main/webapp/plugins/ueditor1_4_3_2/third-party/jquery-1.10.2.js index c5c6482..0de1a02 100644 --- a/code/jeeplatform-admin/src/main/webapp/plugins/ueditor1_4_3_2/third-party/jquery-1.10.2.js +++ b/code/jeeplatform-admin/src/main/webapp/plugins/ueditor1_4_3_2/third-party/jquery-1.10.2.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 ];