diff --git a/lms/templates/modal/_modal-settings-language.html b/lms/templates/modal/_modal-settings-language.html
index 8c50d0e3ef..797cdcbad3 100644
--- a/lms/templates/modal/_modal-settings-language.html
+++ b/lms/templates/modal/_modal-settings-language.html
@@ -1,5 +1,7 @@
+<%page expression_filter="h"/>
<%namespace name='static' file='../static_content.html'/>
<%!
+from openedx.core.djangolib.markup import HTML, Text
from django.utils.translation import ugettext as _
from django.urls import reverse
%>
@@ -53,12 +55,12 @@ from django.urls import reverse
diff --git a/lms/templates/wiki/plugins/attachments/index.html b/lms/templates/wiki/plugins/attachments/index.html
index c8ebda39d4..7423356e59 100644
--- a/lms/templates/wiki/plugins/attachments/index.html
+++ b/lms/templates/wiki/plugins/attachments/index.html
@@ -61,6 +61,7 @@
+ # xss-lint: disable=django-trans-missing-escape
{% for attachment in attachments %}
diff --git a/openedx/core/djangoapps/schedules/templates/dropdown_filter.html b/openedx/core/djangoapps/schedules/templates/dropdown_filter.html
index 61c6a21737..0b1a6e2513 100644
--- a/openedx/core/djangoapps/schedules/templates/dropdown_filter.html
+++ b/openedx/core/djangoapps/schedules/templates/dropdown_filter.html
@@ -1,5 +1,8 @@
{% load i18n %}
-{% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}
+{% filter force_escape %}
+ {% blocktrans with filter_title=title %} By {{ filter_title }} {% endblocktrans %}
+ {% endfilter %}
+