CVE-2024-4201
mediumpriority · track · 18EPSS 0.005 · 41 %ileDEEUNLUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (14)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- NCSC-2024-0258Kwetsbaarheden verholpen in GitLab Enterprise Edition en Community EditionNL2024-06-14csaf · ncsc_nlNL
GitLab heeft kwetsbaarheden verholpen in GitLab Enterprise Edition (EE) en Community Edition (CE).
- WID-SEC-W-2024-1367GitLab: Mehrere Schwachstellen ermöglichen Denial of Service und Cross-Site ScriptingDeutsch2024-06-12csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in GitLab ausnutzen, um einen Denial of Service Angriff durchzuführen und einen Cross-Site-Scripting-Angriff zu starten.
- BIT-gitlab-2024-4201Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab2024-06-17vendor · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (11)
External citations — patches, advisories, analysis.
- 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-devicescnnvd
- https://cxsecurity.com/cveshow/CVE-2024-4201/cnnvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/458229cnnvd
- https://hackerone.com/reports/2473886cnnvd
- https://vigilance.fr/vulnerability/GitLab-CE-EE-five-vulnerabilities-dated-12-06-2024-44510cnnvd
- 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-devicesenisa_euvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/458229enisa_euvd
- https://hackerone.com/reports/2473886enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan