CVE-2021-22241
8.7high
An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0.
- Severity
- 8.7high CVSS:3.1 by GitLab
- Exploit likelihood
- 0.99% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-22241
Description
An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was possible to exploit a stored cross-site-scripting via a specifically crafted default branch name.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=14.1, <14.1.2, >=14.0, <14.0.7, from 14.0.0 before 14.0.7, from 14.1.0 before 14.1.2 | CVE List, NVD |
| gitlab (Bitnami) | from 14.0.0 before 14.0.7, from 14.1.0 before 14.1.2 | Bitnami Vulnerability Database |
All scores
| GitLab | 8.7high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/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 | high rating |
Classification
What each source says
CVE List
An issue has been discovered in GitLab CE/EE affecting all versions starting from 14.0. It was possible to exploit a stored cross-site-scripting via a specifically crafted default branch name.
NVD (es)
Se ha detectado un problema en GitLab CE/EE afectando a todas las versiones a partir de 14.0. Era posible explotar una vulnerabilidad de tipo cross-site-scripting almacenado por medio de un nombre de rama predeterminado específicamente diseñado
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/336460 | broken-link, web | |
| https://hackerone.com/reports/1256777 | advisory, permissions-required, third-party-advisory | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22241.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-22241 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22241 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-22241 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-22241 changed 2026-09-10 | Apache-2.0 |