diff --git a/modules/consentAdmin/templates/consentadmin.php b/modules/consentAdmin/templates/consentadmin.php index 2860b9b735ff614fc81ea6f0f40a3e924394e41b..ae97cdf7d857ec3193c4869e8f24553b75f3c5e5 100755 --- a/modules/consentAdmin/templates/consentadmin.php +++ b/modules/consentAdmin/templates/consentadmin.php @@ -75,8 +75,8 @@ span.showhide { foreach ($spList AS $spName => $spValues) { $this->includeInlineTranslation('spname', $spValues['name']); $this->includeInlineTranslation('spdescription', $spValues['description']); - $htmlSpName = $this->t('spname', array(), false, true); - $spDescription = $this->t('spdescription',array(), false, true); + $htmlSpName = htmlspecialchars($this->t('spname', array(), false, true)); + $spDescription = htmlspecialchars($this->t('spdescription',array(), false, true)); $checkedAttr = $spValues['consentStatus'] == 'ok' ? "checked='yes'" : ""; $consentValue = $spValues['consentValue']; $consentText = $spValues['consentStatus'] == 'changed' ? "attributes has changed" : "";