Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix low severity stored xss in signup page.
  • Loading branch information
Ahmad Gneady committed Jul 11, 2021
1 parent cd5d358 commit be345e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/membership_signup.php
Expand Up @@ -152,8 +152,8 @@
if($adminConfig['custom'.$cf] != '') {
?>
<div class="row form-group">
<div class="col-sm-3"><label class="control-label" for="custom<?php echo $cf; ?>"><?php echo $adminConfig['custom'.$cf]; ?></label></div>
<div class="col-sm-9"><input class="form-control" type="text" placeholder="<?php echo $adminConfig['custom'.$cf]; ?>" id="custom<?php echo $cf; ?>" name="custom<?php echo $cf; ?>"></div>
<div class="col-sm-3"><label class="control-label" for="custom<?php echo $cf; ?>"><?php echo htmlspecialchars($adminConfig['custom'.$cf]); ?></label></div>
<div class="col-sm-9"><input class="form-control" type="text" placeholder="<?php echo htmlspecialchars($adminConfig['custom'.$cf]); ?>" id="custom<?php echo $cf; ?>" name="custom<?php echo $cf; ?>"></div>
</div>
<?php
}
Expand Down

0 comments on commit be345e5

Please sign in to comment.