Skip to content

Commit

Permalink
Fix potential stored XSS in Bulk Resize action
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed May 22, 2020
1 parent beb2ee3 commit 31c837f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/templates/settings/_panes/resize-bulk.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
<td>{{ item.label }}</td>

<td>
<div class="btn small bulk-resize-btn" data-id="{{ item.value }}" data-name="{{ item.label | t('image-resizer') }}">
{{ item.label | t('image-resizer') }}

<div class="btn small bulk-resize-btn" data-id="{{ item.value }}" data-name="{{ item.label | e('js') }}">
{{ "Bulk Resize" | t('image-resizer') }}
</div>
</td>
Expand Down

0 comments on commit 31c837f

Please sign in to comment.