diff --git a/src/Debug/ValidationCollector.php b/src/Debug/ValidationCollector.php
index 1ea296d..72a3f6c 100644
--- a/src/Debug/ValidationCollector.php
+++ b/src/Debug/ValidationCollector.php
@@ -113,14 +113,14 @@ protected function renderValidations() : string
= $index + 1 ?> |
= $item['type'] ?> |
= $count ?> |
- = $errors[0]['field'] ?? '' ?> |
- = $errors[0]['error'] ?? '' ?> |
+ = \htmlentities($errors[0]['field'] ?? '') ?> |
+ = \htmlentities($errors[0]['error'] ?? '') ?> |
= Debugger::roundSecondsToMilliseconds($item['end'] - $item['start']) ?> |
- = $errors[$i]['field'] ?> |
- = $errors[$i]['error'] ?> |
+ = \htmlentities($errors[$i]['field']) ?> |
+ = \htmlentities($errors[$i]['error']) ?> |