There was an error while loading. Please reload this page.
1 parent 194c5ae commit ee87821Copy full SHA for ee87821
main/forum/viewthread.php
@@ -634,7 +634,7 @@
634
'Aw:',
635
];
636
$replace = '<span>'.Display::returnFontAwesomeIcon('mail-reply').'</span>';
637
- $post['post_title'] = str_replace($search, $replace, $post['post_title']);
+ $post['post_title'] = str_replace($search, $replace, Security::remove_XSS($post['post_title']));
638
639
// The post title
640
$titlePost = Display::tag('h3', $post['post_title'], ['class' => 'forum_post_title']);
0 commit comments