Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.2 before 18.7.5, 18.8 before 18.8.5, and 18.9 before 18.9.1 that under certain circumstances, could have allowed an unauthenticated user to inject arbitrary scripts into the Mermaid sandbox UI.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
16.2 (semver) before 18.7.5
18.8 (semver) before 18.8.5
18.9 (semver) before 18.9.1
Credits
Thanks [aphantom](https://hackerone.com/aphantom) for reporting this vulnerability through our HackerOne bug bounty program
References
gitlab.com/gitlab-org/gitlab/-/issues/585371 (GitLab Issue #585371)
hackerone.com/reports/3473276 (HackerOne Bug Bounty Report #3473276)
about.gitlab.com/...25/patch-release-gitlab-18-9-1-released/