diff --git a/erpnext/templates/includes/projects/project_row.html b/erpnext/templates/includes/projects/project_row.html
index b0a9a276f2a..1d131314d9f 100644
--- a/erpnext/templates/includes/projects/project_row.html
+++ b/erpnext/templates/includes/projects/project_row.html
@@ -6,7 +6,7 @@
{{ doc.name }}
- {{ doc.project_name }}
+ {{ doc.project_name | e }}
{% if doc.percent_complete %}
diff --git a/erpnext/templates/includes/projects/project_tasks.html b/erpnext/templates/includes/projects/project_tasks.html
index c1f9cc16112..455fc25488b 100644
--- a/erpnext/templates/includes/projects/project_tasks.html
+++ b/erpnext/templates/includes/projects/project_tasks.html
@@ -8,7 +8,7 @@
{% endif %}
- {{ task.subject }}
+ {{ task.subject | e }}
{{ task.status }}
diff --git a/erpnext/templates/pages/projects.html b/erpnext/templates/pages/projects.html
index 10466a6cb2f..2b55679fa71 100644
--- a/erpnext/templates/pages/projects.html
+++ b/erpnext/templates/pages/projects.html
@@ -1,7 +1,7 @@
{% extends "templates/web.html" %}
{% block title %}
- {{ doc.project_name }}
+ {{ doc.project_name | e }}
{% endblock %}
{% block head_include %}
@@ -9,7 +9,7 @@
{% endblock %}
{% block header %}
-
+
{% endblock %}
{% block style %}