Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request #467 from JVMerkle/xss_pull
Fix reflected XSS in bot.php
  • Loading branch information
Newcomer1989 committed Apr 5, 2018
2 parents b2f8fc6 + de040b6 commit b3a3cd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webinterface/bot.php
Expand Up @@ -129,7 +129,7 @@ function getlog($logpath,$number_lines,$filters,$filter2,$inactivefilter = NULL)
$inactivefilter .= "DEBUG,";
}
if(isset($_POST['logfilter'][0])) {
$filter2 = $_POST['logfilter'][0];
$filter2 = htmlspecialchars($_POST['logfilter'][0]);
$_SESSION[$rspathhex.'logfilter2'] = $filter2;
}

Expand Down

0 comments on commit b3a3cd8

Please sign in to comment.