CVE-2023-0523
GitLab vulnerability analysis and mitigation

Overview

An issue was discovered in GitLab affecting all versions starting from 15.6 before 15.8.5, 15.9 before 15.9.4, and 15.10 before 15.10.1. The vulnerability allowed a stored XSS attack via a malicious email address, which specifically affected administrators when attempting to impersonate accounts containing malicious payloads. This vulnerability was assigned CVE-2023-0523 and was discovered through GitLab's HackerOne bug bounty program (GitLab Release, CVE Mitre).

Technical details

The vulnerability was introduced due to changes in the email confirmation warning system where HTML content was marked as safe using the .html_safe method. This vulnerability specifically manifested when the :soft_email_confirmation feature flag was enabled on self-managed instances. The issue received a CVSS v3.1 score of 5.4 (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N), indicating medium severity (GitLab Release).

Impact

The vulnerability allowed attackers to inject arbitrary HTML content through email addresses, which would execute when administrators attempted to impersonate the affected accounts. This could lead to cross-site scripting attacks specifically targeting GitLab instance administrators. The HTML payload was not visible in the administrator's user management interface, making it difficult to detect malicious accounts before impersonation (GitLab Release).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 15.8.5, 15.9.4, and 15.10.1. Organizations running affected versions should upgrade to these patched versions immediately. GitLab.com was already running the patched version at the time of disclosure (GitLab Release).

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-2025-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13761HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026

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