Skip to content

Commit

Permalink
Fixed issue [security] #15452: (self) reflecting XSS in print answer …
Browse files Browse the repository at this point in the history
…view : Array/text

Dev: escape value
  • Loading branch information
Shnoulle committed Jun 18, 2020
1 parent b8f2693 commit 0d2e1df
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -8,7 +8,7 @@
<th></th>
{% for colname, value in subquestion.answervalueslabels %}
<th class="text-center"><b>{{value}} - {{colname}}</b></th>
{% endfor %}
{% endfor %}
</tr>
{% endif %}

Expand All @@ -18,8 +18,8 @@
</td>
{% for colname, value in subquestion.answervalues %}
<td>
{{value}}
</td>
{{value|escape}}
</td>
{% endfor %}
</tr>
{% endfor %}
Expand Down

0 comments on commit 0d2e1df

Please sign in to comment.