CWE
79
Advisory Published
Updated

CVE-2021-22185: XSS

First published: Wed Mar 24 2021(Updated: )

Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>=13.8.0<13.8.5
GitLab>=13.8.0<13.8.5
GitLab>=13.9.0<13.9.2
GitLab>=13.9.0<13.9.2

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-22185?

    CVE-2021-22185 has a high severity rating due to the potential for stored cross-site scripting attacks.

  • How do I fix CVE-2021-22185?

    To fix CVE-2021-22185, upgrade your GitLab installation to version 13.8.5 or later, or 13.9.2 or later.

  • What software is affected by CVE-2021-22185?

    CVE-2021-22185 affects GitLab versions 13.8.0 through 13.8.5 and 13.9.0 through 13.9.2 for both community and enterprise editions.

  • What kind of attack does CVE-2021-22185 facilitate?

    CVE-2021-22185 allows an attacker to conduct stored cross-site scripting attacks via specially crafted wiki commits.

  • Is CVE-2021-22185 specific to certain GitLab features?

    Yes, CVE-2021-22185 specifically affects the wiki feature in GitLab.

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