Skip to content

Commit

Permalink
Disallow all on attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Mar 5, 2019
1 parent 3c04b73 commit 83259d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion inc/html.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3548,7 +3548,9 @@ static function initEditorSystem($name, $rand = '', $display = true, $readonly =
// init editor
tinyMCE.init({
language: '$language',
invalid_elements: 'form,iframe',
invalid_elements: 'form,iframe,script,@[onclick|ondblclick|'
+ 'onmousedown|onmouseup|onmouseover|onmousemove|onmouseout|onkeypress|'
+ 'onkeydown|onkeyup]',
browser_spellcheck: true,
mode: 'exact',
elements: '$name',
Expand Down

0 comments on commit 83259d8

Please # to comment.