CVE-2024-2279: Stored XSS via autocomplete results
An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.7 to 16.8.6 all versions starting from 16.9 before 16.9.4, all versions starting from 16.10 before 16.10.2. Using the autocomplete for issues references feature a crafted payload may lead to a stored XSS, allowing attackers to perform arbitrary actions on behalf of victims.
Other sources
An issue has been discovered in GitLab CE/EE affecting all versions starting from 16.7 to 16.8.6, all versions starting from 16.9 before 16.9.4, all versions starting from 16.10 before 16.10.2. Using the autocomplete for issues references feature, a crafted payload may lead to a stored XSS, allowing attackers to perform arbitrary actions on behalf of victims. This is a high severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N, 8.7). It is now mitigated in the latest release and is assigned CVE-2024-2279.
— GitLab
Affected Software
Remediation
Information
Event History
Peer vulnerabilities
Found alongside the following vulnerabilities.
Frequently Asked Questions
What is the severity of CVE-2024-2279?
CVE-2024-2279 is classified as a moderate severity vulnerability due to its potential for causing stored injection issues in affected versions of GitLab.
How do I fix CVE-2024-2279?
To fix CVE-2024-2279, you should upgrade your GitLab instance to version 16.8.7 or later, 16.9.4 or later, or 16.10.2 or later.
Which versions of GitLab are affected by CVE-2024-2279?
CVE-2024-2279 affects GitLab versions starting from 16.7 to 16.8.6, 16.9 from 16.9.0 to before 16.9.4, and 16.10 from 16.10.0 to before 16.10.2.
What type of attack can CVE-2024-2279 facilitate?
CVE-2024-2279 can potentially enable stored injection attacks through the use of a crafted payload in the autocomplete for issues feature.
Is there a workaround for CVE-2024-2279 if I can't update immediately?
Currently, it is recommended to apply updates to address CVE-2024-2279 rather than relying on workarounds, as they may not fully mitigate the vulnerability.