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}}
|
||||
{{else}}
|
||||
<span class="d-button-label">
|
||||
{{html-safe itemName}}
|
||||
{{itemName}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</button>
|
||||
|
|
Loading…
Reference in New Issue