CVE-2023-5933
Published: 26 January 2024
Summary
CVE-2023-5933 is a medium-severity Basic XSS (CWE-80) vulnerability in Gitlab Gitlab. Its CVSS base score is 6.4 (Medium).
Operationally, ranked in the top 6.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
An issue has been discovered in GitLab CE/EE involving improper input sanitization of user names that permits arbitrary API PUT requests. The vulnerability affects all versions after 13.7 before 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1. It is tracked under CWE-80 and CWE-79 with a CVSS 3.1 score of 6.4 reflecting network attack vector, high attack complexity, low privileges required, and user interaction.
An authenticated attacker with low privileges can supply a crafted user name that bypasses sanitization, enabling them to issue unauthorized API PUT requests. Successful exploitation can result in high impact to confidentiality and integrity on affected instances while availability remains unaffected.
GitLab security advisories for the 16.8.1 release and corresponding issue trackers recommend immediate upgrade to the fixed versions 16.6.6, 16.7.4, or 16.8.1 depending on the release line in use.
EPSS remains at 0.1036 with no material increase from its initial value after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-58205
Vulnerability details
An issue has been discovered in GitLab CE/EE affecting all versions after 13.7 before 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1. Improper input sanitization of user name allows arbitrary API PUT requests.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.