Resolved XSS issue from alert rule list modal (#13805)

This commit is contained in:
Neil Lathwood
2022-02-22 14:28:31 +00:00
committed by laf
parent 0c08670acc
commit 04c9630d1e

View File

@ -62,7 +62,7 @@ if (! Auth::user()->hasGlobalAdmin()) {
echo "
<tr>
<td>{$rule['name']}</td>
<td><i>" . htmlentities($rule_display) . "</i></td>
<td><i>" . htmlentities(strip_tags($rule_display)) . "</i></td>
<td>{$rule['severity']}</td>
<td>{$rule['id']}</td>
</tr>