Skip to content

Commit

Permalink
Fix low severity stored xss in admin/pageMail.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Gneady committed Jul 3, 2021
1 parent d339275 commit 8f72a40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/admin/pageMail.php
Expand Up @@ -139,7 +139,7 @@
<label class="col-sm-4 col-md-3 col-lg-2 col-lg-offset-2 control-label"><?php echo $Translation["from"]; ?></label>
<div class="col-sm-8 col-md-9 col-lg-6">
<p class="form-control-static">
<?php echo "{$adminConfig['senderName']} &lt;{$adminConfig['senderEmail']}&gt;"; ?>
<?php echo strip_tags($adminConfig['senderName']) . " &lt;{$adminConfig['senderEmail']}&gt;"; ?>
<div>
<a href="pageSettings.php?search-settings=smtp" class="btn btn-default">
<i class="glyphicon glyphicon-pencil"></i>
Expand Down

0 comments on commit 8f72a40

Please sign in to comment.