CVE-2024-4201
MEDIUM 4.4 ALL-YEARSA 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.
No known exploitation, public exploit, or elevated probability at this time. Track for changes.
Exploitation likelihood
0.5%chance of exploitation in 30 days · 41st percentile
Impact if exploited
4.4CVSS 3.1 · MEDIUM · CNA
- ConfidentialityLow
- IntegrityLow
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ⚠Privileges: Requires a low-privilege account
- ⚠User interaction: A user must take an action (click / open a file)
- ⚠Complexity: Needs a race window or specific setup
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-79: : Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
References and research data (JSON)
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Gitlab | Gitlab | ≥ 5.1 and < 16.10.7 |
| Gitlab | Gitlab | ≥ 5.1 and < 16.10.7 |
| Gitlab | Gitlab | ≥ 16.11.0 and < 16.111.4 |
| Gitlab | Gitlab | ≥ 16.11.0 and < 16.111.4 |
| Gitlab | Gitlab | ≥ 17.0.0 and < 17.0.2 |
| Gitlab | Gitlab | ≥ 17.0.0 and < 17.0.2 |
All CVSS metrics
- MEDIUM 4.4 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N - MEDIUM 4.4 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
References
Exploit-tagged references (not proof of a PoC)
- https://hackerone.com/reports/2473886 CVE record · GitLab · Updated 2024-08-29T15:04:57.749Z
CVE record · CVE · Updated 2024-08-01T20:33:52.911Z
NVD · CVE-2024-4201 · Updated 2026-06-17T08:01:19.180
Advisories
- https://gitlab.com/gitlab-org/gitlab/-/issues/458229 CVE record · GitLab · Updated 2024-08-29T15:04:57.749Z
CVE record · CVE · Updated 2024-08-01T20:33:52.911Z
NVD · CVE-2024-4201 · Updated 2026-06-17T08:01:19.180 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-32755 EUVD · EUVD-2024-32755
Technical & other
- 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 CVE record · GitLab · Updated 2024-08-29T15:04:57.749Z
CVE record · CVE · Updated 2024-08-01T20:33:52.911Z
NVD · CVE-2024-4201 · Updated 2026-06-17T08:01:19.180
Sources: NVD · CVE.org · All sources and attribution · EPSS