Skip to content

Commit 6b0be2c

Browse files
authored
Merge pull request #191 from edx/security-fix/fix-xss-in-file-upload
Fix xss while rendering file-upload
2 parents 32fae72 + 1f9ff0b commit 6b0be2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/static/js/views/file_uploader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
return optionVal || default_value;
3939
},
4040
submitButton, resultNotification;
41-
41+
// xss-lint: disable=javascript-jquery-html
4242
this.$el.html(this.template({
4343
title: get_option_with_default('title', ''),
4444
inputLabel: get_option_with_default('inputLabel', ''),

0 commit comments

Comments
 (0)