CVE-2024-4201 json
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
published 2024-06-12 2 y ago modified 2026-09-08 2 mo ago also BIT-gitlab-2024-4201 , EUVD-2024-32755
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 16.10.7, 16.11.4, 17.0.2
- GitLab GitLab 16.10.7, 16.11.4, 17.0.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.48% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2473886 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 4.4 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | gitlab | >=5.1.0, <16.10.7 >=16.11.0, <16.11.4 >=17.0.0, <17.0.2 |
16.10.7 16.11.4 17.0.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
hackerone.com
/reports/2473886
technical-description, exploit, permissions-required, third-party-advisory, advisory
-
gitlab.com
/gitlab-org/gitlab/-/issues/458229
issue-tracking, permissions-required, vendor-advisory, advisory
-
about.gitlab.com
/releases/2024/06/12/patch-release-gitlab-17-0-2-released/#xss-and-content-injection-when-viewing-raw-xhtml-fi
release-notes, article
-
nvd.nist.gov
/vuln/detail/CVE-2024-4201
web
Sources
- CVE List CVE-2024-4201
- NVD CVE-2024-4201
- OSV BIT-gitlab-2024-4201
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.