diff --git a/themes/root/templates/error/index.phtml b/themes/root/templates/error/index.phtml index 9e53e5a5e67434b4be60b8fc9bc2c093b90cdba5..4e4bb612df97f384bab294e6b6b84bbeb880e4b5 100644 --- a/themes/root/templates/error/index.phtml +++ b/themes/root/templates/error/index.phtml @@ -11,7 +11,7 @@ <? if (isset($this->display_exceptions) && $this->display_exceptions): ?> <h3><?=$this->transEsc('Exception')?>:</h3> <p> - <b><?=$this->transEsc('Message')?>:</b> <?=$this->exception->getMessage()?> + <b><?=$this->transEsc('Message')?>:</b> <?=$this->escapeHtml($this->exception->getMessage())?> </p> <h3><?=$this->transEsc('Backtrace')?>:</h3>