From fd21ae262b2640dc05576abc20c735313c150fed Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 30 Jul 2015 09:07:47 +0000 Subject: [PATCH] Fixed a potential XSS vulnerability. SVN:2.1.1[3663] --- application/dashboard.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/dashboard.class.inc.php b/application/dashboard.class.inc.php index 7783aef6ad..c12fe7ab65 100644 --- a/application/dashboard.class.inc.php +++ b/application/dashboard.class.inc.php @@ -312,7 +312,7 @@ abstract class Dashboard public function Render($oPage, $bEditMode = false, $aExtraParams = array()) { - $oPage->add('

'.Dict::S($this->sTitle).'

'); + $oPage->add('

'.htmlentities(Dict::S($this->sTitle), ENT_QUOTES, 'UTF-8', false).'

'); $oLayout = new $this->sLayoutClass; $oLayout->Render($oPage, $this->aCells, $bEditMode, $aExtraParams); if (!$bEditMode)