From 7e7e2f424d9a6deaed4b28d8854d9705fe1135c4 Mon Sep 17 00:00:00 2001 From: npt-1707 Date: Mon, 18 May 2026 07:31:43 +0800 Subject: [PATCH] doc/html/_static/jquery-3.2.1.js: Ajax: Mitigate possible XSS vulnerability --- doc/html/_static/jquery-3.2.1.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/html/_static/jquery-3.2.1.js b/doc/html/_static/jquery-3.2.1.js index d2d8ca47..6625ad7c 100644 --- a/doc/html/_static/jquery-3.2.1.js +++ b/doc/html/_static/jquery-3.2.1.js @@ -8712,6 +8712,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 ];