Skip to content

Commit 703745d

Browse files
authored
Resolved XSS issue from alert rule list modal (#13805)
1 parent 09929bd commit 703745d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: includes/html/modal/alert_rule_list.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
echo "
6363
<tr>
6464
<td>{$rule['name']}</td>
65-
<td><i>" . htmlentities($rule_display) . "</i></td>
65+
<td><i>" . htmlentities(strip_tags($rule_display)) . "</i></td>
6666
<td>{$rule['severity']}</td>
6767
<td>{$rule['id']}</td>
6868
</tr>

0 commit comments

Comments
 (0)