Skip to content

Commit

Permalink
Update hooks.php
Browse files Browse the repository at this point in the history
Fixes a low risk XSS vulnerability.  Classified as low risk due to needing access to ACP->Config.
  • Loading branch information
dragonexpert committed Feb 6, 2019
1 parent f0026c3 commit 051465d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/plugins/recentthreads/hooks.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function recentthread_list_threads($return=false)
// Take into account any ignored forums
if($mybb->settings['recentthread_forumskip'])
{
$ignoreforums = " AND t.fid NOT IN(" . $mybb->settings['recentthread_forumskip'] . ") ";
$ignoreforums = " AND t.fid NOT IN(" . htmlspecialchars($mybb->settings['recentthread_forumskip']) . ") ";
}
$forums = $cache->read("forums");
$prefixes = $cache->read("threadprefixes");
Expand Down

0 comments on commit 051465d

Please sign in to comment.