CVE-2021-39885
published high CVSS 3.1 · 8.7GitLab vulnerability
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitLab | — | GitLab>=13.7, <14.1.7 · >=14.2, <14.2.5 · >=14.3, <14.3.1 | Affected | Not stated | GitLab |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- GitLab · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitLab | GitLab | >=13.7, <14.1.7 (affected)>=14.2, <14.2.5 (affected)>=14.3, <14.3.1 (affected) | GitLab · cna |
Weaknesses
1- Improper neutralization of input during web page generation ('cross-site scripting') in GitLab
References
3Provider assertions
2GitLab · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6e1f905520bbb98e67c8b3de4cb7ad4f88d2bb8d8f1bd098303f12d03762c608
- Ingested
- 23 Sep 2026, 07:55:44 UTC
- Source record
- Official CVE record