mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch 'ent-11794-stored-cross-site-scripting-via-dashboard-panel' into 'develop'
Ent 11794 stored cross site scripting via dashboard panel See merge request artica/pandorafms!6296
This commit is contained in:
commit
a6e1e1cf61
@ -217,6 +217,8 @@ function initialiceLayout(data) {
|
||||
success: function(widgetData) {
|
||||
// Remove spinner.
|
||||
removeSpinner(element);
|
||||
widgetData = widgetData.replace("<script", "<script");
|
||||
widgetData = widgetData.replace("</script", "</script");
|
||||
$("#widget-" + id + " .content-widget").append(widgetData);
|
||||
|
||||
$("#button-add-widget-" + id).click(function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user