An issue was discovered in GitLab Community and Enterprise Edition before 11.5.8, 11.6.x before 11.6.6, and 11.7.x before 11.7.1. It allows XSS (issue 1 of 2). Markdown fields contain a lack of input validation and output encoding when processing KaTeX that results in a persistent XSS.
https://gitlab.com/gitlab-org/gitlab-ce/issues/54416
https://about.gitlab.com/2019/01/31/security-release-gitlab-11-dot-7-dot-3-released/