From dfd1d5fe351f1c3e8cf707789efcc46cbcf87f61 Mon Sep 17 00:00:00 2001 From: Stephen Abello Date: Thu, 2 Dec 2021 09:54:31 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04493=20Security=20hardening?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/spreadsheetbulkexport.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/spreadsheetbulkexport.class.inc.php b/core/spreadsheetbulkexport.class.inc.php index 36e97f05f..84dd94085 100644 --- a/core/spreadsheetbulkexport.class.inc.php +++ b/core/spreadsheetbulkexport.class.inc.php @@ -340,7 +340,7 @@ EOF } else if ($oAttDef instanceof AttributeTagSet) { - $sField = $oObj->GetAsCSV($sAttCode, $this->bLocalizeOutput, ''); + $sField = utils::HtmlEntities($oObj->GetAsCSV($sAttCode, $this->bLocalizeOutput, '')); $sData .= "$sField"; } else