CVE-2022-1190
GitLab vulnerability analysis and mitigation

Overview

A stored Cross-Site Scripting (XSS) vulnerability was discovered in GitLab CE/EE versions 8.3 through 14.9.2, identified as CVE-2022-1190. The vulnerability was discovered on January 20, 2022, and patched in versions 14.7.7, 14.8.5, and 14.9.2 released on March 31, 2022. The issue affected both Community Edition (CE) and Enterprise Edition (EE) of GitLab, allowing attackers to exploit stored XSS by manipulating multi-word milestone references in issue descriptions and comments (GitLab Release, NVD).

Technical details

The vulnerability stemmed from improper handling of user input in multi-word milestone references. The issue was rooted in the regular expression pattern that extracted String-based multi-word milestones, which had almost no restrictions. The vulnerable regex pattern '""+"' allowed for string-based multi-word milestones surrounded in quotes, making it possible to inject malicious content. The vulnerability received a CVSS v3.1 base score of 8.7 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N (GitLab Release).

Impact

The vulnerability allowed attackers to execute stored XSS attacks through milestone references in issue descriptions and comments. The attack could be spread to public project owners and maintainers through cross-project references and multi-word milestones. The stored XSS could potentially lead to session hijacking, credential theft, and other client-side attacks (GitLab Release).

Mitigation and workarounds

GitLab addressed this vulnerability by releasing patched versions 14.7.7, 14.8.5, and 14.9.2. Users were strongly recommended to upgrade their GitLab installations to one of these versions immediately. GitLab.com was automatically updated to run the patched version (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-11224HIGH7.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 14, 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