Skip to content

Commit d9126c0

Browse files
committed
Prevent access via the 'window.opener' object with submitted links
1 parent 67dfa77 commit d9126c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

changelog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
- -> Removed
1515
! -> Note
1616

17-
WIP
18-
WIP
17+
###WIP
18+
* Prevent access via the 'window.opener' object with submitted links
1919
^ Fix smiley being shown multiple times for the same image if there are multiple shortcuts
2020

2121
Version 8.1.11

mod_shoutbox/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ public function bbcodeFilter($message)
514514
'<span class="jj-italic">$1</span>',
515515
'<span class="jj-underline">$1</span>',
516516
'<a href="#" data-jj-image="http$1://$2" data-jj-image-alt="$3" class="jj-image-modal">$3</a>',
517-
'<a href="http$1://$2" target="_blank">$3</a>'
517+
'<a href="http$1://$2" target="_blank" rel="nofollow noreferrer">$3</a>'
518518
);
519519

520520
$message = preg_replace($search, $replace, $message);

0 commit comments

Comments
 (0)