CVE-2024-4201
published medium CVSS 3.1 · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab5.1 to < 16.10.7 · 16.11 to < 16.11.4 · 17.0 to < 17.0.2 · Other versions: unaffected | Affected | Not stated | GitLab |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | 5.1 to < 16.10.7 (affected · semver)16.11 to < 16.11.4 (affected · semver)17.0 to < 17.0.2 (affected · semver)Default: unaffected | GitLab · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3- 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
- GitLab Issue #458229 https://gitlab.com/gitlab-org/gitlab/-/issues/458229
- HackerOne Bug Bounty Report #2473886 https://hackerone.com/reports/2473886
Provider assertions
3GitLab · cna
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 7d0e1045cd9bcc43384a654c34653505b16d2b518a5e4160f8cfe4bcfcac50ed
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record