CVE-2021-39885

Public Exploit

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

Category

8.7
CVSS
Severity: High
CVSS 3.1 •
CVSS 2.0 •
EPSS 0.37%
Vendor Advisory gitlab.com Vendor Advisory gitlab.com
Affected: GitLab GitLab
Published at:
Updated at:

References

Link Tags
https://gitlab.com/gitlab-org/gitlab/-/issues/341140 issue tracking exploit vendor advisory
https://hackerone.com/reports/1342009 permissions required exploit third party advisory
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39885.json vendor advisory

Frequently Asked Questions

What is the severity of CVE-2021-39885?
CVE-2021-39885 has been scored as a high severity vulnerability.
How to fix CVE-2021-39885?
To fix CVE-2021-39885, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2021-39885 being actively exploited in the wild?
It is possible that CVE-2021-39885 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2021-39885?
CVE-2021-39885 affects GitLab GitLab.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.