CVE-2024-4207
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 < 17.0.6 · 17.1 to < 17.1.4 · 17.2 to < 17.2.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 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.
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 < 17.0.6 (affected · semver)17.1 to < 17.1.4 (affected · semver)17.2 to < 17.2.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
2- GitLab Issue #458236 https://gitlab.com/gitlab-org/gitlab/-/issues/458236
- HackerOne Bug Bounty Report #2473917 https://hackerone.com/reports/2473917
Provider assertions
2GitLab · cna
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9cf8f76ef1e8136336d8bb97121e132765fe2976caad174ec6ed31793f11da00
- Ingested
- 23 Sep 2026, 08:29:21 UTC
- Source record
- Official CVE record