GitLab CE/EE, versions 10.3 up to 11.x before 11.3.11, 11.4 before 11.4.8, and 11.5 before 11.5.1, are vulnerable to an XSS vulnerability in Markdown fields via Mermaid.
https://gitlab.com/gitlab-org/gitlab-ce/issues/45906
https://about.gitlab.com/2018/11/28/security-release-gitlab-11-dot-5-dot-1-released/