8.7high
A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2…
- Severity
- 8.7high CVSS:3.1 by GitLab
- Exploit likelihood
- 1.13% (higher than 67% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2021-39885
Description
A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2 before 14.2.5, and all versions starting from 14.3 before 14.3.1 allows an attacker to execute arbitrary JavaScript code on the victim's behalf via malicious approval rule names
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | >=13.7, <14.1.7, >=14.2, <14.2.5, >=14.3, <14.3.1, from 13.7.0 before 14.1.7, from 14.2.0 before 14.2.5, 14.3.0 | CVE List, NVD |
| gitlab (Bitnami) | from 13.7.0 before 14.1.7, from 14.2.0 before 14.2.5, from 14.3.0 before 14.3.1 | 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
A Stored XSS in merge request creation page in all versions of Gitlab EE starting from 13.7 before 14.1.7, all versions starting from 14.2 before 14.2.5, and all versions starting from 14.3 before 14.3.1 allows an attacker to execute arbitrary JavaScript code on the victim's behalf via malicious approval rule names
NVD (es)
Un XSS almacenado en la página de creación de solicitudes de fusión en todas las versiones de Gitlab EE a partir de la 13.7 antes de la 14.1.7, todas las versiones a partir de la 14.2 antes de la 14.2.5 y todas las versiones a partir de la 14.3 antes de la 14.3.1 permite a un atacante ejecutar código JavaScript arbitrario en nombre de la víctima a través de nombres de reglas de aprobación maliciosos
References
| https://gitlab.com/gitlab-org/gitlab/-/issues/341140 | advisory, exploit, issue-tracking, vendor-advisory | |
| https://hackerone.com/reports/1342009 | advisory, exploit, permissions-required, third-party-advisory | |
| https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json | advisory, vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39885 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39885 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-39885 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2021-39885 changed 2026-09-10 | Apache-2.0 |