Skip to content

Commit 9ba96ec

Browse files
author
Alexander Paliarush
committed
MAGETWO-45289: XSS Payload into Admin Panel
1 parent f85e691 commit 9ba96ec

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/view

1 file changed

+1
-1
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/view/info.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ $orderStoreDate = $block->formatDate(
132132
</tr>
133133
<tr>
134134
<th><?php /* @escapeNotVerified */ echo __('Email') ?></th>
135-
<td><a href="mailto:<?php /* @escapeNotVerified */ echo $_order->getCustomerEmail() ?>"><?php /* @escapeNotVerified */ echo $_order->getCustomerEmail() ?></a></td>
135+
<td><a href="mailto:<?php echo $block->escapeHtml($_order->getCustomerEmail()) ?>"><?php echo $block->escapeHtml($_order->getCustomerEmail()) ?></a></td>
136136
</tr>
137137
<?php if ($_groupName = $block->getCustomerGroupName()) : ?>
138138
<tr>

0 commit comments

Comments
 (0)