CVE-2024-4207Gitlab
Medium 5.4
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 36
- Auth required
- Yes
- Published
- Aug 8, 2024
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Gitlab.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 5.1.0 < 17.0.6 |
| gitlab | gitlab | ≥ 17.1.0 < 17.1.4 |
| gitlab | gitlab | ≥ 17.2.0 < 17.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Broken Link
- hackerone.com Permissions Required