CVE-2021-39885
Last modified
CVE-2021-39885 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.95% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitlab | Gitlab | >= 13.7.0, < 14.1.7 |
| Gitlab | Gitlab | >= 14.2.0, < 14.2.5 |
| Gitlab | Gitlab | 14.3.0 |
References
- https://gitlab.com/gitlab-org/gitlab/-/issues/341140Exploit, Issue Tracking, Vendor Advisory
- https://hackerone.com/reports/1342009Exploit, Permissions Required, Third Party Advisory
- https://gitlab.com/gitlab-org/gitlab/-/issues/341140Exploit, Issue Tracking, Vendor Advisory
- https://hackerone.com/reports/1342009Exploit, Permissions Required, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-39885?
How severe is CVE-2021-39885?
How do I fix CVE-2021-39885?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-3988A Cross-site Scripting (XSS) vulnerability exists in janeczk…6.1
- CVE-2021-39880A Denial Of Service vulnerability in the apollo_upload_serve…6.5
- CVE-2021-39881In all versions of GitLab CE/EE since version 7.7, the appli…3.5
- CVE-2021-39882In all versions of GitLab CE/EE, provided a user ID, anonymo…5.3
- CVE-2021-39883Improper authorization checks in all versions of GitLab EE s…4.3
- CVE-2021-39884In all versions of GitLab EE since version 8.13, an endpoint…4.3
- CVE-2021-39886Permissions rules were not applied while issues were moved b…4.3
- CVE-2021-39887A stored Cross-Site Scripting vulnerability in the GitLab Fl…5.4
- CVE-2021-39888In all versions of GitLab EE starting from 13.10 before 14.1…4.3
- CVE-2021-39889In all versions of GitLab EE since version 14.1, due to an i…4.3
- CVE-2021-3989showdoc is vulnerable to URL Redirection to Untrusted Site6.1
- CVE-2021-39890It was possible to bypass 2FA for LDAP users and access some…9.8
Are you affected by CVE-2021-39885?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
