Issue #2567673 by joelpittet: Escaped markup with $.text() injected into a tag will cause XSS
parent
df7ced5544
commit
dc2be10a4e
|
@ -291,7 +291,7 @@
|
|||
*/
|
||||
Drupal.viewsUi.AddItemForm.prototype.handleCheck = function (event) {
|
||||
var $target = $(event.target);
|
||||
var label = $.trim($target.next().text());
|
||||
var label = $.trim($target.next().html());
|
||||
// Add/remove the checked item to the list.
|
||||
if ($target.is(':checked')) {
|
||||
this.$selected_div.show().css('display', 'block');
|
||||
|
|
Loading…
Reference in New Issue