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

Published Dec 11, 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 Cross Site Scripting (XSS) if Content Security Policy (CSP) is not enabled. This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N, 5.4). It is now mitigated in the latest release and is assigned CVE-2024-8179.

Other sources

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.

MITRE

Affected Software

8 affected componentsFixes available
GitLab GitLab CE/EE>17.3, <17.4.6, >17.5, <17.5.4, >17.6, <17.6.2
GitLab GitLab>=17.3.0<17.4.6
GitLab GitLab>=17.3.0<17.4.6
GitLab GitLab>=17.5.0<17.5.4
GitLab GitLab>=17.5.0<17.5.4
GitLab GitLab>=17.6.0<17.6.2
GitLab GitLab>=17.6.0<17.6.2
GitLab GitLab>=17.3<17.4.6, >=17.5<17.5.4, >=17.6<17.6.2
17.4.617.5.417.6.2

Remediation

Information

Upgrade to versions 17.4.6, 17.5.4, 17.6.2 or above.

Event History

Dec 12, 2024
CVE Published
via MITRE·12:03 PM
Data Sourced
via MITRE·12:03 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·12:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software
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-8179?

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

2

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.

3

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.

4

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.

5

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