CVE-2021-22225
4.7medium
Insufficient input sanitization in markdown in GitLab version 13.11 and up allows an attacker to exploit a stored cross-site scripting vuln…
- Severity
- 4.7medium CVSS:3.1 by GitLab
- Exploit likelihood
- 0.56% (higher than 47% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-22225
Description
Insufficient input sanitization in markdown in GitLab version 13.11 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=13.11.3, <13.11.6, >=13.12, <13.12.6, >=14.0, <14.0.2, from 13.11.3 before 13.11.6, from 13.12.0 before 13.12.6, from 14.0.0 before 14.0.2 | CVE List, NVD |
| gitlab (Bitnami) | from 13.11.3 before 13.11.6, from 13.12.0 before 13.12.6, from 14.0.0 before 14.0.2 | Bitnami Vulnerability Database |
All scores
| GitLab | 4.7medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/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 markdown in GitLab version 13.11 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted markdown
NVD (es)
Un saneamiento insuficiente de entrada en markdown en GitLab versión 13.11 y superiores permite a un atacante explotar una vulnerabilidad de tipo cross-site scripting almacenada por medio de un markdown especialmente diseñado
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/331051 | broken-link, web | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22225.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22225 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22225 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22225 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-22225 changed 2026-09-10 | Apache-2.0 |