You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 before 16.10.7, all versions starting from 16.11 before 16.111.4, all versions starting from 17.0 before 17.0.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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
OR
*cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 5.1 up to (excluding) 16.10.7
*cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 5.1 up to (excluding) 16.10.7
*cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 16.11.0 up to (excluding) 16.111.4
*cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 16.11.0 up to (excluding) 16.111.4
*cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* versions from (including) 17.0.0 up to (excluding) 17.0.2
*cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* versions from (including) 17.0.0 up to (excluding) 17.0.2
Changed
Reference Type
https://about.gitlab.com/releases/2024/06/12/patch-release-gitlab-17-0-2-released/#xss-and-content-injection-when-viewing-raw-xhtml-files-on-ios-devices No Types Assigned
https://hackerone.com/reports/2473886 No Types Assigned
https://hackerone.com/reports/2473886 Third Party Advisory
New CVE Received from GitLab Inc.6/12/2024 7:15:49 PM
Action
Type
Old Value
New Value
Added
Description
A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 before 16.10.7, all versions starting from 16.11 before 16.111.4, all versions starting from 17.0 before 17.0.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.
Added
CVSS V3.1
GitLab Inc. AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Added
CWE
GitLab Inc. CWE-79
Added
Reference
GitLab Inc. https://about.gitlab.com/releases/2024/06/12/patch-release-gitlab-17-0-2-released/#xss-and-content-injection-when-viewing-raw-xhtml-files-on-ios-devices [No types assigned]
Added
Reference
GitLab Inc. https://gitlab.com/gitlab-org/gitlab/-/issues/458229 [No types assigned]
Added
Reference
GitLab Inc. https://hackerone.com/reports/2473886 [No types assigned]
Quick Info
CVE Dictionary Entry: CVE-2024-4201 NVD
Published Date: 06/12/2024 NVD
Last Modified: 06/17/2026
Source: GitLab Inc.