Skip to content

Commit

Permalink
XSS possible within profile fields that contains urls #1144
Browse files Browse the repository at this point in the history
  • Loading branch information
Fasse committed Jan 2, 2022
1 parent 0b174b8 commit 0e4bce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adm_program/system/classes/ProfileFields.php
Expand Up @@ -168,6 +168,7 @@ public function getHtmlValue($fieldNameIntern, $value, $value2 = null)
if ($value != '')
{
// create html for each field type
$value = SecurityUtils::encodeHTML(StringUtils::strStripTags($value));
$htmlValue = $value;

$usfType = $this->mProfileFields[$fieldNameIntern]->getValue('usf_type');
Expand Down

0 comments on commit 0e4bce9

Please sign in to comment.