FIX: Ensure values are escaped in select-kit dropdowns (#16576)
The values in Discourse dropdown menus only come from admin-defined strings, not unsanitised end-user input, so this lack of escaping was not exploitable.
This commit is contained in:
parent
8ada093218
commit
0f7b198ca0
|
@ -4,7 +4,7 @@
|
||||||
{{yield}}
|
{{yield}}
|
||||||
{{else}}
|
{{else}}
|
||||||
<span class="d-button-label">
|
<span class="d-button-label">
|
||||||
{{html-safe itemName}}
|
{{itemName}}
|
||||||
</span>
|
</span>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</button>
|
</button>
|
||||||
|
|
Loading…
Reference in New Issue