Skip to content

Commit

Permalink
Merge pull request from GHSA-prrh-qvhf-x788
Browse files Browse the repository at this point in the history
Escape username
  • Loading branch information
atomiix committed Aug 31, 2022
2 parents 7a03fd0 + 2b57977 commit 314456d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions productcomments.php
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ public function getStandardFieldList()
*/
public function renderAuthorName($value, $row)
{
$value = htmlentities($value);
if (!empty($row['customer_id'])) {
$linkToCustomerProfile = $this->context->link->getAdminLink('AdminCustomers', false, [], [
'id_customer' => $row['customer_id'],
Expand Down

0 comments on commit 314456d

Please sign in to comment.