An issue has been discovered in GitLab affecting all versions starting from 13.7 before 15.7.8, all versions starting from 15.8 before 15.8.4, all versions starting from 15.9 before 15.9.2. A specially crafted Kroki diagram could lead to a stored XSS on the client side which allows attackers to perform arbitrary actions on behalf of victims.
https://hackerone.com/reports/1731349
https://gitlab.com/gitlab-org/gitlab/-/issues/387023
https://gitlab.com/gitlab-org/cves/-/blob/master/2023/CVE-2023-0050.json