Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fix XSS reported by Yohann / @2xyo
  • Loading branch information
thinkst-marco committed Jun 30, 2022
1 parent 90e3a93 commit dc37895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/history.html
Expand Up @@ -306,7 +306,7 @@ <h4 style="text-align: center;">Incident List is Currently Empty</h4>
{% for info in canarydrop['triggered_list'][item]['additional_info'] %}
<tr class="header_row">
<td colspan="2">
{{info}}
{{info|e}}
</td>
</tr>
{%if info == 'iOS-App'%}
Expand Down Expand Up @@ -353,7 +353,7 @@ <h4 style="text-align: center;">Incident List is Currently Empty</h4>
<td>
{{ canarydrop['triggered_list'][item]['additional_info'][info][info_item][0] == '1'
if info_item in ['enabled','installed']
else canarydrop['triggered_list'][item]['additional_info'][info][info_item]|join(', ') }}
else canarydrop['triggered_list'][item]['additional_info'][info][info_item]|join(', ')|e }}
</td>
</tr>
{% endfor %}
Expand Down

0 comments on commit dc37895

Please sign in to comment.