A vulnerability was found in GitLab Community Edition and Enterprise Edition up to 17.3.5/17.4.2/17.5.0. It has been classified as problematic. This affects an unknown part of the component Diff View. The manipulation leads to cross site scripting.

This vulnerability is uniquely identified as CVE-2024-8312. It is possible to initiate the attack remotely. There is no exploit available.

It is recommended to upgrade the affected component.