What’s Vulnerable › Vulnerabilities
CVE-2021-22171
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-01-15 · updated 2026-06-17
- Weakness: CWE-287
Description
Insufficient validation of authentication parameters in GitLab Pages for GitLab 11.5+ allows an attacker to steal a victim's API token if they click on a maliciously crafted link
Affected products
- GitLab: from 11.5.0 before 13.5.6; from 13.6.0 before 13.6.4; from 13.7.0 before 13.7.2 — fixed in 13.5.6, 13.6.4, 13.7.2
How to fix
Upgrade to a fixed version: GitLab 13.5.6, 13.6.4, 13.7.2. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22171.json
- https://gitlab.com/gitlab-org/gitlab-pages/-/issues/262
- https://hackerone.com/reports/718460
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22171.json
- https://gitlab.com/gitlab-org/gitlab-pages/-/issues/262
- https://hackerone.com/reports/718460
Get alerted when CVE-2021-22171 or the next vulnerability affects your stack