Skip to content

Commit

Permalink
Fix DOM XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
r0hanSH committed Feb 26, 2022
1 parent e33c3c7 commit 32cdd3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/notes/speaker-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,10 @@ <h4 class="label">Notes</h4>

window.addEventListener( 'message', function( event ) {

if (window.location.origin !== event.origin){
return;
}

clearTimeout( connectionTimeout );
connectionStatus.style.display = 'none';

Expand Down

0 comments on commit 32cdd3b

Please sign in to comment.