Private GIT

Skip to content
Snippets Groups Projects
Commit 142b3062 authored by Maximilien Bersoult's avatar Maximilien Bersoult Committed by Stephane Chapron
Browse files

fix(sec): Fix XSS security on menu username

* Fix xss security when display username on menu
parent 693edc24
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,7 @@ $tpl->assign("date_time_format_status", _("d/m/Y H:i:s"));
/*
* Display Login
*/
$tpl->assign("user_login", $centreon->user->get_alias());
$tpl->assign("user_login", htmlentities($centreon->user->get_alias()));
/*
* Fixe ACL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment