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

Published Feb 26, 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.

Affected Software

11 affected componentsFixes available
GitLab GitLab CE>16.6, <17.7.6
GitLab GitLab EE>16.6, <17.7.6
GitLab GitLab EE>17.8, <17.8.4
GitLab GitLab EE>17.9, <17.9.1
GitLab GitLab>=16.6.0<17.7.6
GitLab GitLab>=16.6.0<17.7.6
GitLab GitLab>=17.8.0<17.8.4
GitLab GitLab>=17.8.0<17.8.4
GitLab GitLab=17.9.0
GitLab GitLab=17.9.0
GitLab GitLab>=16.6<17.7.6, >=17.8<17.8.4, >=17.9<17.9.1
17.7.617.8.417.9.1

Remediation

Information

Upgrade to versions 17.7.6, 17.8.4, 17.9.1 or above.

Event History

Mar 3, 2025
CVE Published
via MITRE·10:02 AM
Data Sourced
via MITRE·10:02 AM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203