CWE
79
Advisory Published
Updated

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

First published: Thu Dec 12 2024(Updated: )

An issue has been discovered in GitLab CE/EE affecting all versions from 17.3 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. Improper output encoding could lead to XSS if CSP is not enabled.

Credit: cve@gitlab.com

Affected SoftwareAffected VersionHow to fix
GitLab Community Edition>17.3<17.4.6>17.5<17.5.4>17.6<17.6.2

Remedy

Upgrade to versions 17.4.6, 17.5.4, 17.6.2 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-8179?

    CVE-2024-8179 is considered a medium severity vulnerability due to the risk of XSS attacks when CSP is not enabled.

  • How do I fix CVE-2024-8179?

    To fix CVE-2024-8179, upgrade to GitLab CE/EE version 17.4.6, 17.5.4, or 17.6.2 or later.

  • Which versions of GitLab are affected by CVE-2024-8179?

    CVE-2024-8179 affects GitLab CE/EE versions 17.3 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2.

  • What types of attacks can be executed due to CVE-2024-8179?

    CVE-2024-8179 can allow attackers to execute cross-site scripting (XSS) attacks if content security policy (CSP) is not correctly implemented.

  • Is enabling content security policy (CSP) sufficient to mitigate CVE-2024-8179?

    Enabling content security policy (CSP) helps mitigate CVE-2024-8179 but does not fully resolve the vulnerability; upgrading to a patched version is necessary.

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