CVE-2024-4207: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
A cross-site scripting issue has been discovered in GitLab affecting all versions starting from 5.1 prior 17.0.6, starting from 17.1 prior to 17.1.4, and starting from 17.2 prior to 17.2.2. When viewing an XML file in a repository in raw mode, it can be made to render as HTML if viewed under specific circumstances.
Affected Software
Remediation
Information
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2024-4207?
The severity of CVE-2024-4207 has been categorized as medium, due to the potential for cross-site scripting attacks.
How do I fix CVE-2024-4207?
To fix CVE-2024-4207, upgrade your GitLab installation to version 17.0.6 or later, 17.1.4 or later, or 17.2.2 or later.
Which versions of GitLab are affected by CVE-2024-4207?
CVE-2024-4207 affects all versions of GitLab starting from 5.1 before 17.0.6, starting from 17.1 before 17.1.4, and starting from 17.2 before 17.2.2.
What type of vulnerability is CVE-2024-4207?
CVE-2024-4207 is a cross-site scripting (XSS) vulnerability allowing malicious scripts to be executed in the context of the user’s session.
Can CVE-2024-4207 be exploited remotely?
Yes, CVE-2024-4207 can be exploited remotely by an attacker through the manipulation of XML file views in GitLab.