CWE
79
Advisory Published
Updated

CVE-2024-8186: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab

First published: Mon Mar 03 2025(Updated: )

An issue has been discovered in GitLab CE/EE affecting all versions from 16.6 before 17.7.6, 17.8 before 17.8.4, and 17.9 before 17.9.1. An attacker could inject HMTL into the child item search potentially leading to XSS in certain situations.

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab>16.6<17.7.6
GitLab Enterprise Edition>16.6<17.7.6
GitLab Enterprise Edition>17.8<17.8.4
GitLab Enterprise Edition>17.9<17.9.1

Remedy

Upgrade to versions 17.7.6, 17.8.4, 17.9.1 or above.

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-2024-8186?

    CVE-2024-8186 has a moderate severity level due to its potential for cross-site scripting (XSS) attacks.

  • How do I fix CVE-2024-8186?

    To fix CVE-2024-8186, upgrade to GitLab versions 17.7.6, 17.8.4, or 17.9.1 or later.

  • What software versions are affected by CVE-2024-8186?

    CVE-2024-8186 affects GitLab CE and EE versions from 16.6 up to but not including 17.7.6, 17.8 up to but not including 17.8.4, and 17.9 up to but not including 17.9.1.

  • What type of vulnerability is CVE-2024-8186?

    CVE-2024-8186 is a cross-site scripting (XSS) vulnerability allowing HTML injection in child item searches.

  • Can CVE-2024-8186 be exploited remotely?

    Yes, CVE-2024-8186 can potentially be exploited remotely if the conditions are met for the XSS injection.

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