CVE-2021-22185
5.4medium
Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerab…
- Severity
- 5.4medium CVSS:3.1 by GitLab
- Exploit likelihood
- 0.81% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-22185
Description
Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=13.8, <13.8.5, >=13.9, <13.9.2, from 13.8.0 before 13.8.5, from 13.9.0 before 13.9.2 | CVE List, NVD |
| gitlab (Bitnami) | from 13.8.0 before 13.8.5, from 13.9.0 before 13.9.2 | Bitnami Vulnerability Database |
All scores
| GitLab | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
What each source says
CVE List
Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki
NVD (es)
Un saneamiento insuficiente de la entrada en wikis en GitLab versiones 13.8 y posteriores, permite a un atacante explotar una vulnerabilidad de tipo cross-site scripting almacenada por medio de un commit especialmente diseñado para un wiki
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/299143 | broken-link, web | |
| https://hackerone.com/reports/1087061 | advisory, permissions-required, third-party-advisory | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22185.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22185 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22185 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22185 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-22185 changed 2026-09-08 | Apache-2.0 |