CVEvulnerability
CVE-2021-39885
5.4 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-10-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.7 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- CVSS 3.1 ([email protected])
- 5.4 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 3.5 LOW — AV:N/AC:M/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-79
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 configurations
• gitlab gitlab (>= 13.7.0 < 14.1.7)
• gitlab gitlab (>= 14.2.0 < 14.2.5)
• gitlab gitlab 14.3.0
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/341140 Exploit, Issue Tracking, Vendor Advisory
- https://hackerone.com/reports/1342009 Exploit, Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json Vendor Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/341140 Exploit, Issue Tracking, Vendor Advisory
- https://hackerone.com/reports/1342009 Exploit, Permissions Required, Third Party Advisory