diff --git a/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/file_entry_history.jsp b/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/file_entry_history.jsp
index 261b3bc3ebabca4afadf48da5d70a9e5d2c4b24b..631c86649cec0e5f25d30eb2c98f14b4b20a155e 100644
--- a/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/file_entry_history.jsp
+++ b/modules/apps/document-library/document-library-web/src/main/resources/META-INF/resources/document_library/file_entry_history.jsp
@@ -46,7 +46,7 @@
 						</div>
 					</c:when>
 					<c:otherwise>
-						<%= fileVersion.getChangeLog() %>
+						<%= HtmlUtil.escape(fileVersion.getChangeLog()) %>
 					</c:otherwise>
 				</c:choose>