Skip to content

Commit d45ae18

Browse files
orthaghtrasher
authored andcommitted
xss in config > general > system on user agent display
1 parent 01189af commit d45ae18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/config.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ function showSystemInformations() {
18361836
echo wordwrap($msg."\n", $width, "\n\t");
18371837

18381838
if (isset($_SERVER["HTTP_USER_AGENT"])) {
1839-
echo "\t" . $_SERVER["HTTP_USER_AGENT"] . "\n";
1839+
echo "\t" . Toolbox::clean_cross_side_scripting_deep($_SERVER["HTTP_USER_AGENT"]) . "\n";
18401840
}
18411841

18421842
foreach ($DB->getInfo() as $key => $val) {

0 commit comments

Comments
 (0)