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

Published Jul 25, 2024
·
Updated

A cross site scripting vulnerability exists in GitLab CE/EE affecting all versions from 16.6 prior to 17.0.5, 17.1 prior to 17.1.3, 17.2 prior to 17.2.1 allowing an attacker to execute arbitrary scripts under the context of the current logged in user.

Affected Software

6 affected components
GitLab GitLab>=16.6.0<17.0.5
GitLab GitLab>=16.6.0<17.0.5
GitLab GitLab>=17.1.0<17.1.3
GitLab GitLab>=17.1.0<17.1.3
GitLab GitLab=7.2.0
GitLab GitLab=7.2.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 17.0.5
  2. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 17.1.3
  3. Upgrade

    Upgrade GitLab CE/EE to a version that resolves this vulnerability.

    Fixed in 17.2.1

Event History

Jul 25, 2024
CVE Published
via MITRE·12:30 AM
Data Sourced
via MITRE·12:30 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via OSV·12:30 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-7047?

CVE-2024-7047 is classified as a cross-site scripting vulnerability that can significantly impact user security in GitLab.

2

How do I fix CVE-2024-7047?

To fix CVE-2024-7047, upgrade your GitLab installation to versions 17.0.5, 17.1.3, or 17.2.1 or later.

3

What versions of GitLab are affected by CVE-2024-7047?

CVE-2024-7047 affects GitLab CE/EE versions 16.6 prior to 17.0.5, 17.1 prior to 17.1.3, and 17.2 prior to 17.2.1.

4

Can CVE-2024-7047 be exploited remotely?

Yes, CVE-2024-7047 can be exploited remotely by an attacker targeting the current logged-in user's session.

5

What types of attacks can occur due to CVE-2024-7047?

Attackers can execute arbitrary scripts in the context of the logged-in user, which may lead to data theft or unauthorized actions.

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