CVE-2024-4207 json
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
published 2024-08-08 2 y ago modified 2026-09-10 59 d ago also BIT-gitlab-2024-4207 , EUVD-2024-32761
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 24%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami gitlab 17.0.6, 17.1.4, 17.2.2
- GitLab GitLab 17.0.6, 17.1.4, 17.2.2
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.31% chance of exploitation in the next 30 days, higher than 24% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/2473917 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 | 5.4 | CVSS:3.1/AV:N/AC:L/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, <17.0.6 >=17.1.0, <17.1.4 >=17.2.0, <17.2.2 |
17.0.6 17.1.4 17.2.2 |
Affected products
- GitLab GitLab
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Technology feeds
References
-
hackerone.com
/reports/2473917
technical-description, exploit, permissions-required, web
-
gitlab.com
/gitlab-org/gitlab/-/issues/458236
issue-tracking, permissions-required, broken-link, web
-
nvd.nist.gov
/vuln/detail/CVE-2024-4207
web
Sources
- CVE List CVE-2024-4207
- NVD CVE-2024-4207
- OSV BIT-gitlab-2024-4207
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.