diff --git a/Core/Base/Debug/DebugBar.php b/Core/Base/Debug/DebugBar.php index 0adb45c971..0762518def 100644 --- a/Core/Base/Debug/DebugBar.php +++ b/Core/Base/Debug/DebugBar.php @@ -1,7 +1,7 @@ + * Copyright (C) 2019-2022 Carlos Garcia Gomez * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as @@ -127,7 +127,7 @@ private function addItemInputs(array &$items) $label = ' ' . $type; $data = []; foreach ($rows as $key => $value) { - $data[] = [$key, $value]; + $data[] = [htmlspecialchars($key), htmlspecialchars($value)]; } $this->addItem($items, $label, $data, true);