Skip to content

Commit

Permalink
Fix unescaped content injection in rosie disco (#2766)
Browse files Browse the repository at this point in the history
Cherry-picked from ad2001f
  • Loading branch information
MetRonnie committed Mar 18, 2024
1 parent bbb63a8 commit 88c3573
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
{%- if "-list" in key %}
{%- set value = value|join(" ") %}
{%- endif %}
{%- set info = info ~ "<strong>" ~ key ~ "</strong>" ~ ": " ~ value ~ "<br/>" %}
{%- set info = info ~ "<strong>" ~ key ~ "</strong>" ~ ": " ~ value|escape ~ "<br/>" %}
{%- endif %}
{%- if loop.last %}
<tr>
Expand Down

0 comments on commit 88c3573

Please sign in to comment.