mirror of
https://github.com/rsyslog/loganalyzer.git
synced 2025-09-22 01:17:51 +02:00
Fixed Cross Site Scripting Issue in userchange.php
Debugcode for handling invalid ViewID's left a XSS opportunity open.
This commit is contained in:
parent
e06d3ddc76
commit
2356e10efe
@ -80,7 +80,7 @@ if ( isset($_GET['op']) )
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// DEBUG
|
// DEBUG
|
||||||
echo "DEBUG: " . $_SESSION['currentSourceID'] . " - $newViewID";
|
echo "DEBUG: " . $_SESSION['currentSourceID'] . " - " . htmlspecialchars($newViewID);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user