From 7232e7a29da9b6ada90117fc149e02a3928d4a2a Mon Sep 17 00:00:00 2001 From: Nathan van der Werf Date: Fri, 18 Jan 2019 17:26:56 +0100 Subject: [PATCH] Escape output to prevent XSS injection (#4074) Credit to @nathan-van-der-werf --- modules/backend/controllers/auth/reset.htm | 4 ++-- modules/cms/widgets/componentlist/partials/_items.htm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/backend/controllers/auth/reset.htm b/modules/backend/controllers/auth/reset.htm index 039178ab4..6761a369f 100644 --- a/modules/backend/controllers/auth/reset.htm +++ b/modules/backend/controllers/auth/reset.htm @@ -2,8 +2,8 @@ - - + +
diff --git a/modules/cms/widgets/componentlist/partials/_items.htm b/modules/cms/widgets/componentlist/partials/_items.htm index f57da47e6..8abe9137b 100644 --- a/modules/cms/widgets/componentlist/partials/_items.htm +++ b/modules/cms/widgets/componentlist/partials/_items.htm @@ -4,7 +4,7 @@
  • title)) ?>

    - + description)) ?>
    makePartial('component_list', ['components'=>$item->items]) ?>