CVE-2023-2015
GitLab vulnerability analysis and mitigation

Overview

A reflected Cross-Site Scripting (XSS) vulnerability was discovered in GitLab CE/EE, identified as CVE-2023-2015. The vulnerability affects all versions starting from 15.8 before 15.10.8, all versions starting from 15.11 before 15.11.7, and all versions starting from 16.0 before 16.0.2. The issue was discovered in the Report Abuse functionality of GitLab, allowing attackers to perform arbitrary actions on behalf of victims (GitLab CVE, CVE Mitre).

Technical details

The vulnerability exists in the Report Abuse functionality, specifically in the handling of the refurl parameter. When creating new abuse reports, the refurl parameter value was reflected without proper filtering or validation, allowing for script injection. The issue was particularly severe in self-hosted GitLab instances where Content Security Policy (CSP) protections might not be in place (GitLab Issue).

Impact

The exploitation of this vulnerability could lead to account takeover and allow attackers to perform unauthorized actions on behalf of the victim users. In self-hosted GitLab instances without CSP protection, the impact was more severe as the malicious JavaScript could execute without additional bypass requirements (GitLab Issue).

Mitigation and workarounds

The vulnerability has been fixed in GitLab versions 15.10.8, 15.11.7, and 16.0.2. The fix involves proper validation of the ref_url parameter on the server side, allowing only http or https schemes, and implementing proper HTML encoding to prevent script injection (CVE Mitre).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-9183HIGH7.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesDec 05, 2025
CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • gitlab
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management