Description
A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 prior 17.0.6, starting from 17.1 prior to 17.1.4, and starting from 17.2 prior to 17.2.2. When viewing an XML file in a repository in raw mode, it can be made to render as HTML if viewed under specific circumstances.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| GitLab | GitLab | 5.1 – < 17.0.6, 17.1 – < 17.1.4, 17.2 – < 17.2.2 | 17.0.6 |
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
- NCSC-2024-0329 Kwetsbaarheden verholpen in GitLab Enterprise Edition en Community Edition NCSC-NL (Netherlands) · Aug 12, 2024
- WID-SEC-2024-1787 GitLab: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 8, 2024
References
- GitLab Issue #458236 issue-tracking permissions-required
- HackerOne Bug Bounty Report #2473917 technical-description exploit permissions-required