Description
An issue has been discovered in GitLab CE/EE affecting all versions from 16 before 17.3.7, 17.4 before 17.4.4, and 17.5 before 17.5.2. The vulnerability could allow an attacker to inject malicious JavaScript code in Analytics Dashboards through a specially crafted URL.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitLab | GitLab | 16 – < 17.3.7, 17.4 – < 17.4.4, 17.5 – < 17.5.2 | 17.3.7 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | gitlab | No fix yet | — |
Advisories 2
- WID-SEC-2024-3453 GitLab: Mehrere Schwachstellen BSI CERT-Bund (WID) · Feb 6, 2025
- NCSC-2024-0447 Kwetsbaarheden verholpen in GitLab CE/EE NCSC-NL (Netherlands) · Nov 15, 2024
References
- GitLab Issue #486220 issue-tracking permissions-required
- HackerOne Bug Bounty Report #2683863 technical-description exploit permissions-required
- https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#stored-xss-through-javascript-url-in-analytics-dashboards