CVE-2021-39885: XSS
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
GitLab EEto a version that resolves this vulnerability.Fixed in 14.1.7 - Upgrade
Upgrade
GitLab EEto a version that resolves this vulnerability.Fixed in 14.2.5 - Upgrade
Upgrade
GitLab EEto a version that resolves this vulnerability.Fixed in 14.3.1
Event History
Frequently Asked Questions
What is the severity of CVE-2021-39885?
CVE-2021-39885 has a medium severity rating due to its potential for stored cross-site scripting (XSS) attacks.
How do I fix CVE-2021-39885?
To fix CVE-2021-39885, update your GitLab EE installation to version 14.1.7 or 14.2.5 and later.
What versions of GitLab are affected by CVE-2021-39885?
CVE-2021-39885 affects GitLab EE versions starting from 13.7 before 14.1.7, from 14.2 before 14.2.5, and from 14.3 before 14.3.1.
What kind of attack can occur due to CVE-2021-39885?
CVE-2021-39885 allows an attacker to execute arbitrary JavaScript code via a stored XSS vulnerability.
Is user data at risk due to CVE-2021-39885?
Yes, CVE-2021-39885 exposes user data to potential theft or manipulation due to the stored XSS vulnerability.