CVE-2022-3265
Published: 09 November 2022
Summary
CVE-2022-3265 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Gitlab Gitlab. Its CVSS base score is 7.3 (High).
Operationally, ranked in the top 5.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
A stored cross-site scripting vulnerability exists in GitLab CE/EE, affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2. The flaw occurs in the labels color setting feature and is tracked as CWE-79, allowing an attacker to inject persistent scripts that execute in a victim's browser session.
An authenticated attacker with administrative privileges can exploit the issue by supplying a malicious label color value. Once stored, the payload triggers when other users view the affected labels, enabling the attacker to perform arbitrary actions on behalf of those victims at the client side. The vulnerability carries a CVSS 3.1 score of 7.3, reflecting the requirements for high privileges, user interaction, and a changed scope.
Advisories and patches published by GitLab direct administrators to upgrade to the fixed releases listed above. The referenced GitLab CVE records and issue tracker entries confirm that the remediation eliminates the input handling weakness in the labels feature.
EPSS scores reached a peak of 0.1770 with a current value of 0.1389, indicating moderate and relatively stable exploitation interest since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-42667
Vulnerability details
A cross-site scripting issue has been discovered in GitLab CE/EE affecting all versions prior to 15.3.5, 15.4 prior to 15.4.4, and 15.5 prior to 15.5.2. It was possible to exploit a vulnerability in setting the labels colour feature which could…
more
lead to a stored XSS that allowed attackers to perform arbitrary actions on behalf of victims at client side.
- 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.