Skip to content

Commit

Permalink
Fixes #13 XSS in comment box
Browse files Browse the repository at this point in the history
  • Loading branch information
Starpaul20 committed Feb 23, 2018
1 parent 0313d7a commit 4ee2a2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arcade.php
Expand Up @@ -1096,6 +1096,8 @@
exit;
}

$score['comment'] = htmlspecialchars_uni($score['comment']);

$plugins->run_hooks("arcade_edit_end");

eval("\$edit = \"".$templates->get("arcade_edit", 1, 0)."\";");
Expand Down

0 comments on commit 4ee2a2e

Please sign in to comment.