CVE-2024-4901: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
An issue was discovered in GitLab CE/EE affecting all versions starting from 16.9 prior to 16.11.5, starting from 17.0 prior to 17.0.3, and starting from 17.1 prior to 17.1.1, where a stored XSS vulnerability could be imported from a project with malicious commit notes.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 16.11.5Fixed in 17.0.3Fixed in 17.1.1 - Upgrade
Upgrade
GitLab CE/EEto a version that resolves this vulnerability.Fixed in 17.1.1 - Upgrade
Upgrade
GitLab CE/EEto a version that resolves this vulnerability.Fixed in 17.0.3 - Upgrade
Upgrade
GitLab CE/EEto a version that resolves this vulnerability.Fixed in 16.11.5
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2024-4901?
CVE-2024-4901 is classified as a high-severity stored XSS vulnerability in GitLab.
How do I fix CVE-2024-4901?
To mitigate CVE-2024-4901, users should update their GitLab installation to version 16.11.5 or later, or 17.0.3 or later, or 17.1.1 or later.
Which versions of GitLab are affected by CVE-2024-4901?
CVE-2024-4901 affects all GitLab CE/EE versions from 16.9 before 16.11.5, 17.0 before 17.0.3, and 17.1 before 17.1.1.
What type of vulnerability is CVE-2024-4901?
CVE-2024-4901 is a stored cross-site scripting (XSS) vulnerability.
Can CVE-2024-4901 be exploited remotely?
Yes, CVE-2024-4901 can be exploited remotely through malicious commit notes imported from a project.