diff --git a/htdocs/adherents/note.php b/htdocs/adherents/note.php
index 0d05bb85523..532dd6e4c59 100644
--- a/htdocs/adherents/note.php
+++ b/htdocs/adherents/note.php
@@ -129,7 +129,7 @@ if ($id) {
// Login
if (empty($conf->global->ADHERENT_LOGIN_NOT_REQUIRED)) {
- print '
| '.$langs->trans("Login").' / '.$langs->trans("Id").' | '.$object->login.' |
';
+ print '| '.$langs->trans("Login").' / '.$langs->trans("Id").' | '.dol_escape_htmltag($object->login).' |
';
}
// Type
@@ -143,7 +143,7 @@ if ($id) {
print '';
// Company
- print '| '.$langs->trans("Company").' | '.$object->company.' |
';
+ print '| '.$langs->trans("Company").' | '.dol_escape_htmltag($object->company).' |
';
// Civility
print '| '.$langs->trans("UserTitle").' | '.$object->getCivilityLabel().' | ';