Skip to content

Commit

Permalink
Merge pull request #2263 from magento-chaika/MAGETWO-70939
Browse files Browse the repository at this point in the history
Fixed issues:
- MAGETWO-70939: Reflected XSS in admin Reports
  • Loading branch information
dvoskoboinikov committed Mar 24, 2018
2 parents c5f460e + bff051c commit fe17868
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Reports/view/adminhtml/templates/grid.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ $numColumns = sizeof($block->getColumns());
type="text"
id="<?= /* @escapeNotVerified */ $block->getSuffixId('period_date_from') ?>"
name="report_from"
value="<?= /* @escapeNotVerified */ $block->getFilter('report_from') ?>">
value="<?= $block->escapeHtml($block->getFilter('report_from')) ?>">
<span id="<?= /* @escapeNotVerified */ $block->getSuffixId('period_date_from_advice') ?>"></span>
</span>

Expand All @@ -44,7 +44,7 @@ $numColumns = sizeof($block->getColumns());
type="text"
id="<?= /* @escapeNotVerified */ $block->getSuffixId('period_date_to') ?>"
name="report_to"
value="<?= /* @escapeNotVerified */ $block->getFilter('report_to') ?>"/>
value="<?= $block->escapeHtml($block->getFilter('report_to')) ?>"/>
<span id="<?= /* @escapeNotVerified */ $block->getSuffixId('period_date_to_advice') ?>"></span>
</span>

Expand Down

0 comments on commit fe17868

Please sign in to comment.