Commit f05c9a6
committed
[FIX] Sanitize alert title in asset linked-alerts popover
alert_title was only quote-escaped before being embedded in the
popover's HTML content, so a title containing unquoted HTML (e.g. an
img tag with an onerror handler) still executed. Run it through
sanitizeHTML before the quote-escaping used for the attribute context.1 parent 6a5b72b commit f05c9a6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| |||
0 commit comments