CVE-2021-22202
GitLab vulnerability analysis and mitigation

Overview

An issue was discovered in GitLab CE/EE affecting all previous versions, identified as CVE-2021-22202. The vulnerability allowed an attacker to execute a Cross-Site Request Forgery (CSRF) attack in System hooks through the API if the victim had admin privileges (GitLab Security).

Technical details

The vulnerability was classified as a low severity issue with a CVSS v3.1 score of 4.3 (MEDIUM) and CVSS v2.0 score of 4.3 (MEDIUM). The vulnerability specifically affected the system hooks functionality accessible through the API endpoint, where an admin could be tricked into executing unintended hook actions through CSRF attacks (NVD Results).

Impact

If successfully exploited, an attacker could cause system hooks to be executed undesirably when an admin visits a malicious page. This could lead to unauthorized actions being performed across all projects in the GitLab instance (GitLab Issue).

Mitigation and workarounds

The issue was patched in GitLab security releases 13.10.1, 13.9.5, and 13.8.7. GitLab strongly recommended that all installations running affected versions be upgraded to the latest version immediately (GitLab Security).

Community reactions

The vulnerability was reported through GitLab's HackerOne bug bounty program by security researcher @mishre, demonstrating the effectiveness of GitLab's security response program (GitLab Security).

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
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
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