rXSS cleaned username in editor info display

This commit is contained in:
Matt Pass
2022-01-17 12:38:29 +00:00
committed by GitHub
parent cd964f816f
commit 51cf24b2a3

View File

@@ -150,7 +150,7 @@ h2 {color: rgba(0,198,255,0.7)}
?>
<h2><?php echo $t['multi-user']; ?></h2>
<span class="heading"><?php echo $t['Username']; ?></span><br>
<?php echo $_SESSION['username'];?><br><br>
<?php echo xssClean($_SESSION['username'], "html");?><br><br>
<?php
}
?>