N°4493 Security hardening

This commit is contained in:
Stephen Abello
2021-12-02 09:54:31 +01:00
parent d289457c0c
commit dfd1d5fe35

View File

@@ -340,7 +340,7 @@ EOF
} }
else if ($oAttDef instanceof AttributeTagSet) else if ($oAttDef instanceof AttributeTagSet)
{ {
$sField = $oObj->GetAsCSV($sAttCode, $this->bLocalizeOutput, ''); $sField = utils::HtmlEntities($oObj->GetAsCSV($sAttCode, $this->bLocalizeOutput, ''));
$sData .= "<td x:str>$sField</td>"; $sData .= "<td x:str>$sField</td>";
} }
else else