mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 08:14:01 +08:00
FIX: Ensure values are escaped in select-kit dropdowns (#16586)
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
bb57be95f0
commit
d8b68e00c9
@ -4,7 +4,7 @@
|
||||
{{yield}}
|
||||
{{else}}
|
||||
<span class="d-button-label">
|
||||
{{html-safe itemName}}
|
||||
{{itemName}}
|
||||
</span>
|
||||
{{/if}}
|
||||
</button>
|
||||
|
Loading…
x
Reference in New Issue
Block a user