From 5de24f56e7ebcda32d8dddb58f78a923d663b4f4 Mon Sep 17 00:00:00 2001 From: JisanAR03 Date: Thu, 2 Nov 2023 02:16:04 +0600 Subject: [PATCH] Fix code scanning alert issue-#1344 --- website/static/vendor/bootstrap/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/vendor/bootstrap/js/bootstrap.js b/website/static/vendor/bootstrap/js/bootstrap.js index 399a50d1bf..86906676fa 100644 --- a/website/static/vendor/bootstrap/js/bootstrap.js +++ b/website/static/vendor/bootstrap/js/bootstrap.js @@ -2042,7 +2042,7 @@ function sanitizeInput(input) { } ScrollSpy.prototype.clear = function () { - $(this.selector) + $(escapePotentialXSS(this.selector)) .parentsUntil(this.options.target, '.active') .removeClass('active') }