mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix SNMP trap -> Eventlog XSS (#14657)
Reported via Huntr.dev by @stefan-schiller-sonarsource
This commit is contained in:
@@ -109,7 +109,7 @@ class EventlogController extends TableController
|
||||
}
|
||||
}
|
||||
|
||||
return $eventlog->type;
|
||||
return htmlspecialchars($eventlog->type);
|
||||
}
|
||||
|
||||
private function formatDatetime($eventlog)
|
||||
|
||||
Reference in New Issue
Block a user