Medium
Security advisory
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
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22171
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:53 UTC · Revision 1
Source evidence
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
osv:CVE-2021-22171
Complete source record
{
"id": "45098a1ccf9d9ab169556a4dab38c4702d94e38e86583333dceb5cd6b02f24e0",
"url": "https://osv.dev/vulnerability/CVE-2021-22171",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22171",
"summary": "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",
"evidence": "osv:CVE-2021-22171",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22171",
"aliases": [
"BIT-gitlab-2021-22171",
"CVE-2021-22171"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "cb71fca38c3de0c212685f97a46ee8426f63d301"
},
{
"fixed": "06fb068aba3228f300966c8b178bc8ab6d7d1149"
},
{
"introduced": "c050e8fb184690b8c4cc4c2a5c233f312d713b09"
},
{
"fixed": "5f4e8035ffe3e92941384242aabb64f911b94260"
},
{
"introduced": "036576a25d67513637c1e2cba5859af47695188e"
},
{
"fixed": "55a11a0db46cffdc680fec0dce14d2b973833506"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "11.5.0"
},
{
"fixed": "13.5.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "11.5.0"
},
{
"fixed": "13.5.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.6.0"
},
{
"fixed": "13.6.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.6.0"
},
{
"fixed": "13.6.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.7.0"
},
{
"fixed": "13.7.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.7.0"
},
{
"fixed": "13.7.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v13.7.1-ee",
"v13.6.3-ee",
"v13.7.0-ee",
"v13.6.1-ee",
"v13.6.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22171.json"
}
}
],
"modified": "2026-10-30T10:30:26.321513542Z",
"provider": "osv",
"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"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-22171",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 436230,
"published_at": "2021-01-15T16:15:13.517+00:00"
}