diff --git a/modules/monitoring/application/views/scripts/list/services.phtml b/modules/monitoring/application/views/scripts/list/services.phtml
index 5241c009b..962d22bda 100644
--- a/modules/monitoring/application/views/scripts/list/services.phtml
+++ b/modules/monitoring/application/views/scripts/list/services.phtml
@@ -107,7 +107,7 @@ foreach ($services as $service):
service_icon_image && ! preg_match('/[\'"]/', $service->service_icon_image)): ?>
= $this->icon($this->resolveMacros($service->service_icon_image, $service)) ?>
-= $service->service_display_name ?>showHost): ?> on = $service->host_display_name; ?>
+= $this->escape($service->service_display_name) ?>showHost): ?> on = $this->escape($service->host_display_name) ?>
host_state != 0): ?>
(= strtoupper(Host::getStateText($service->host_state, true)); ?>)