mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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
Block a user