CVE-2024-8312 is a medium-severity cross-site scripting (XSS) vulnerability affecting GitLab CE/EE versions 15.10 through 17.3.5, 17.4 through 17.4.2, and 17.5 through 17.5.0. An authenticated attacker can inject HTML into the Global Search field when viewing a diff, leading to client-side code execution. The CVSS score of 5.4 indicates a network-based attack with low privileges, requiring user interaction, and resulting in low confidentiality and integrity impacts. There is no evidence of active exploitation, and public exploit code is not available, though the vulnerability has received some community discussion and media coverage.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 15.10.0, < 17.3.6CPE matchmatch criteria | cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* | ||
>= 15.10.0, < 17.3.6CPE matchmatch criteria | cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* | ||
>= 17.4.0, < 17.4.3CPE matchmatch criteria | cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* | ||
>= 17.4.0, < 17.4.3CPE matchmatch criteria | cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* | ||
17.5.0CPE matchmatch criteria | cpe:2.3:a:gitlab:gitlab:17.5.0:*:*:*:community:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
Remediation records are not available for this CVE.