CVE-2021-39885Gitlab
Medium 5.4
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 66
- Auth required
- Yes
- Published
- Oct 4, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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
What to do
- Apply the vendor's security update for Gitlab.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 13.7.0 < 14.1.7 |
| gitlab | gitlab | ≥ 14.2.0 < 14.2.5 |
| gitlab | gitlab | 14.3.0 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Vendor Advisory
- gitlab.com Exploit Issue Tracking Vendor Advisory
- hackerone.com Exploit Permissions Required Third Party Advisory