From da3d68220043a767a2e4c1b8b39a4e4f75c103f5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 27 Nov 2025 11:31:50 +0100 Subject: 🔒️ fix security issue for jQuery CVE-2020-11022 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/jquery/jquery/security/advisories/GHSA-gxr4-xjj5-5px2 --- ishtar_common/static/js/ishtar.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common/static') diff --git a/ishtar_common/static/js/ishtar.js b/ishtar_common/static/js/ishtar.js index bd94f525e..7ab6f7d1b 100644 --- a/ishtar_common/static/js/ishtar.js +++ b/ishtar_common/static/js/ishtar.js @@ -23,6 +23,10 @@ beforeSend: function(xhr, settings) { } }}); +jQuery.htmlPrefilter = function(html) { + return html; +}; + if (typeof String.prototype.endsWith !== 'function') { String.prototype.endsWith = function(suffix) { return this.indexOf(suffix, this.length - suffix.length) !== -1; -- cgit v1.2.3