CVE-2022-2230
GitLab vulnerability analysis and mitigation

Overview

CVE-2022-2230 is a Stored Cross-Site Scripting (XSS) vulnerability affecting GitLab Community Edition (CE) and Enterprise Edition (EE) versions from 14.4 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1. The vulnerability was discovered in the project settings page and was reported through GitLab's HackerOne bug bounty program by researcher yvvdwf (GitLab Release).

Technical details

The vulnerability exists in the deployment key rendering function where user-controlled input (deployment key title) is not properly sanitized before being rendered in the HTML content. The vulnerability bypasses Content Security Policy (CSP) protections through jQuery rendering, allowing execution of arbitrary JavaScript code. The severity is rated as high with a CVSS score of 8.1 (CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N) (GitLab Release).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code in GitLab on a victim's behalf. This can lead to performing unauthorized API requests to access private resources and other malicious actions within the context of the victim's session (GitLab Issue).

Mitigation and workarounds

The vulnerability has been patched in GitLab versions 14.10.5, 15.0.4, and 15.1.1. Users are strongly recommended to upgrade to these or later versions immediately. GitLab.com has already been updated with 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-12571HIGH7.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesNov 26, 2025
CVE-2025-7449MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-12653MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesNov 26, 2025
CVE-2025-13611MEDIUM5.3
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesNov 26, 2025
CVE-2025-6195MEDIUM4.3
  • GitLabGitLab
  • 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