From: Mathieu Parent <math.parent@gmail.com>
Date: Tue, 5 May 2015 21:56:08 +0200
Subject: Fix XSS in group administration

Origin: https://github.com/horde/horde/commit/dae5277746abe613de0cacc004e95e9ed9d78220
Author: Jan Schneider <jan@horde.org>
---
 horde-5.2.1/admin/groups.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/horde-5.2.1/admin/groups.php b/horde-5.2.1/admin/groups.php
index 3a3fa48..0423531 100644
--- a/horde-5.2.1/admin/groups.php
+++ b/horde-5.2.1/admin/groups.php
@@ -211,7 +211,7 @@ foreach ($nodes as $id => $node) {
     $tree->addNode(array(
         'id' => $id,
         'parent' => null,
-        'label' => $node,
+        'label' => htmlspecialchars($node),
         'expanded' => false,
         'params' => $group_node + $node_params,
         'right' => array($spacer, $delete_link)
