High severity8.7NVD Advisory· Published Oct 24, 2024· Updated Jun 17, 2026
CVE-2024-8312
CVE-2024-8312
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
8cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*+ 5 more
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*range: 15.10
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*range: >=15.10.0,<17.3.6
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*range: >=15.10.0,<17.3.6
- cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:community:*:*:*
- cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:enterprise:*:*:*
- (no CPE)range: from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1
- Range: from 15.10 before 17.3.6, 17.4 before 17.4.3, and 17.5 before 17.5.1
Patches
Vulnerability mechanics
References
2- gitlab.com/gitlab-org/gitlab/-/issues/481819nvdExploitIssue Tracking
- hackerone.com/reports/2659386nvdPermissions Required
News mentions
1- GitLab Patch Release: 17.5.1, 17.4.3, 17.3.6GitLab Security Releases · Oct 23, 2024