From 1f9ff0b1083c31cac69c562e00e8e126f19e66b7 Mon Sep 17 00:00:00 2001 From: uzairr Date: Wed, 22 Jul 2020 02:40:19 +0500 Subject: [PATCH] Fix xss while rendering file-upload --- lms/static/js/views/file_uploader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/static/js/views/file_uploader.js b/lms/static/js/views/file_uploader.js index d897852f95..18c4ef5af7 100644 --- a/lms/static/js/views/file_uploader.js +++ b/lms/static/js/views/file_uploader.js @@ -38,7 +38,7 @@ return optionVal || default_value; }, submitButton, resultNotification; - + // xss-lint: disable=javascript-jquery-html this.$el.html(this.template({ title: get_option_with_default('title', ''), inputLabel: get_option_with_default('inputLabel', ''),