diff --git a/modules/monitoring/application/views/scripts/list/eventhistory.phtml b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
index a9516aab1..6d6130a3d 100644
--- a/modules/monitoring/application/views/scripts/list/eventhistory.phtml
+++ b/modules/monitoring/application/views/scripts/list/eventhistory.phtml
@@ -110,21 +110,21 @@ use Icinga\Module\Monitoring\Object\Service;
'host' => $event->host,
'service' => $event->service
)); ?>">
- = $event->service; ?>
+ = $this->escape($event->service) ?>
- = $this->translate('on') . ' ' . $event->host; ?>
+ = $this->translate('on') . ' ' . $this->escape($event->host) ?>
- = $event->host; ?>
+ = $this->escape($event->host) ?>