CVE-2024-8312Gitlab
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.7% probability of exploitation in 30 days · percentile 46
- Auth required
- Yes
- Published
- Oct 24, 2024
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
An issue has been discovered in GitLab CE/EE affecting all versions from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1. An attacker could inject HTML into the Global Search field on a diff view leading to XSS.
What to do
- Apply the vendor's security update for Gitlab.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 15.10.0 < 17.3.6 |
| gitlab | gitlab | ≥ 15.10.0 < 17.3.6 |
| gitlab | gitlab | ≥ 17.4.0 < 17.4.3 |
| gitlab | gitlab | ≥ 17.4.0 < 17.4.3 |
| gitlab | gitlab | 17.5.0 |
| gitlab | gitlab | 17.5.0 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Exploit Issue Tracking
- hackerone.com Permissions Required