CWE
79
Advisory Published
Updated

CVE-2021-22196: XSS

First published: Fri Apr 02 2021(Updated: )

An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.4. It was possible to exploit a stored cross-site-scripting in merge request via a specifically crafted branch name.

Credit: cve@gitlab.com cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=13.4.0<13.8.7
GitLab>=13.4.0<13.8.7
GitLab>=13.9.0<13.9.5
GitLab>=13.9.0<13.9.5
GitLab>=13.10.0<13.10.1
GitLab>=13.10.0<13.10.1
GitLab>=13.4.0
GitLab>=13.4.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-22196?

    CVE-2021-22196 has a medium severity due to its potential to allow stored cross-site scripting attacks.

  • How do I fix CVE-2021-22196?

    To fix CVE-2021-22196, upgrade GitLab to version 13.8.7 or later for 13.4.x versions, or to version 13.9.5 or later for 13.9.x versions.

  • Which versions of GitLab are affected by CVE-2021-22196?

    CVE-2021-22196 affects all GitLab CE/EE versions starting from 13.4 up to but not including 13.10.1.

  • What type of vulnerability is CVE-2021-22196?

    CVE-2021-22196 is a stored cross-site scripting (XSS) vulnerability.

  • Can CVE-2021-22196 be exploited remotely?

    Yes, CVE-2021-22196 can be exploited remotely through a crafted branch name affecting merge requests.

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