Medium
Security advisory
An issue has been discovered in GitLab affecting all versions starting with 12.9. GitLab was vulnerable to a stored XSS if scoped labels were used.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22199
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 05:39 UTC · Revision 1
Source evidence
An issue has been discovered in GitLab affecting all versions starting with 12.9. GitLab was vulnerable to a stored XSS if scoped labels were used.
osv:CVE-2021-22199
Complete source record
{
"id": "c59aecbb2987d22638292ea4bc416bacf27c194e3e5008f9d12648ff605753ba",
"url": "https://osv.dev/vulnerability/CVE-2021-22199",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-22199",
"summary": "An issue has been discovered in GitLab affecting all versions starting with 12.9. GitLab was vulnerable to a stored XSS if scoped labels were used.",
"evidence": "osv:CVE-2021-22199",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-22199",
"aliases": [
"BIT-gitlab-2021-22199",
"CVE-2021-22199"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "073a4ba8016203c9e48595afd3ddea430d9420a3"
},
{
"fixed": "2378e1fea098afa15fc0bd4aa52a102c0c1c31b4"
},
{
"introduced": "a1a60e9f753f4e99f2b13b24028a6092a897cc06"
},
{
"fixed": "b5cf6b82d7d8da2f4bccaa1c3018bfdff36963dd"
},
{
"introduced": "0d2d9558dba50b1496bf368954318d465825e8e3"
},
{
"fixed": "b91b666b65e7c56e9380bd1ce6b5a05d00ac37f2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "12.9"
},
{
"fixed": "13.8.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "12.9"
},
{
"fixed": "13.8.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.9.0"
},
{
"fixed": "13.9.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.9.0"
},
{
"fixed": "13.9.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "13.10.0"
},
{
"fixed": "13.10.1"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "13.10.0"
},
{
"fixed": "13.10.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v13.10.0-ee",
"v13.9.3-ee",
"v13.9.1-ee",
"v13.9.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22199.json"
}
}
],
"modified": "2026-10-30T10:30:52.404729673Z",
"provider": "osv",
"references": [
"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22199.json",
"https://gitlab.com/gitlab-org/gitlab/-/issues/291004",
"https://hackerone.com/reports/1050189"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-22199",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 432888,
"published_at": "2021-04-22T22:15:11.957+00:00"
}