Commit 6a5b72b
committed
[FIX] Sanitize modification-history entries in alert history modal
user and action come from modification_history, which embeds the
acting user's username verbatim. They were appended as raw HTML via
jQuery .append(), so a username containing HTML/script executed when
an analyst opened the alert history modal.1 parent d393c1d commit 6a5b72b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1294 | 1294 | | |
1295 | 1295 | | |
1296 | 1296 | | |
1297 | | - | |
| 1297 | + | |
1298 | 1298 | | |
1299 | 1299 | | |
1300 | 1300 | | |
| |||
0 commit comments