Fix SNMP trap -> Eventlog XSS (#14657)

Reported via Huntr.dev by @stefan-schiller-sonarsource
This commit is contained in:
Tony Murray
2022-11-19 21:31:48 -06:00
committed by GitHub
parent 9e9720fc17
commit 00d5e2f477

View File

@@ -109,7 +109,7 @@ class EventlogController extends TableController
}
}
return $eventlog->type;
return htmlspecialchars($eventlog->type);
}
private function formatDatetime($eventlog)