GitLab CE/EE Cross-Site Scripting Vulnerability in Snippet Viewer

Vulnerability

A cross-site scripting vulnerability has been identified in GitLab Community Edition (CE) and Enterprise Edition (EE) versions 17.9 prior to 17.10.8, 17.11 prior to 17.11.4, and 18.0 prior to 18.0.2. The issue arises from improper output encoding in the snippet viewer functionality, which can be exploited to perform cross-site scripting attacks.

Impact

Exploitation of this vulnerability allows for cross-site scripting attacks, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Added: Sep 1, 2025, 7:22 PM
Updated: Sep 1, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
7.3
impact
1.7
exploitability
5.0
remediation
0.0
relevance
0.2
threat
0.0
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.