Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fixed XSS.
  • Loading branch information
petersirka committed Feb 13, 2019
1 parent 75205f9 commit 8b9d7da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions themes/admin/views/index.html
Expand Up @@ -190,6 +190,10 @@

var msg = '';
var t = common.notifications.template;

if (item.message)
item.message = Thelpers.encode(item.message);

switch (item.type) {

case 'navigation.save':
Expand Down

0 comments on commit 8b9d7da

Please sign in to comment.