8.7
CWE
79
Advisory Published
Updated

CVE-2021-39885: XSS

First published: Mon Oct 04 2021(Updated: )

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

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=13.7.0<14.1.7
GitLab>=14.2.0<14.2.5
GitLab=14.3.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203