diff --git a/templates/flash_error.tpl b/templates/flash_error.tpl
index 61fdbd75..264139cf 100644
--- a/templates/flash_error.tpl
+++ b/templates/flash_error.tpl
@@ -5,14 +5,14 @@
{if isset($smarty.session.flash.info)}
{foreach from=$smarty.session.flash.info item=msg}
- - {$msg}
+ - {$msg|escape:html}
{/foreach}
{/if}
{if isset($smarty.session.flash.error)}
{foreach from=$smarty.session.flash.error item=msg}
- - {$msg}
+ - {$msg|escape:html}
{/foreach}
{/if}