CVE-2023-0050
Description
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.
Summary dbcve.org
A stored XSS vulnerability exists in GitLab's Kroki diagram rendering feature. Attackers can embed malicious JavaScript in specially crafted Kroki diagrams that executes when other users view the diagram, enabling session hijacking and arbitrary actions on behalf of victims.
Mitigation
Upgrade GitLab to version 15.7.9, 15.8.5, or 15.9.3 or later. Alternatively, temporarily disable the Kroki integration if upgrading is not immediately feasible.