CVE-2022-2230
Published: 01 July 2022
Summary
CVE-2022-2230 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Gitlab Gitlab. Its CVSS base score is 8.1 (High).
Operationally, ranked in the top 17.0% 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 the project settings page of GitLab Community Edition and Enterprise Edition. It affects all versions from 14.4 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1, and is tracked under CWE-79. The flaw permits an attacker to store arbitrary JavaScript that later executes in a victim's browser session.
An authenticated user with project settings privileges can inject the malicious payload, which then runs with the victim's permissions when the settings page is viewed. Successful exploitation can lead to theft of session tokens or other sensitive data and actions performed on the victim's behalf, consistent with the CVSS 8.1 rating reflecting high confidentiality and integrity impact across a changed scope.
References to GitLab's CVE repository, issue tracker, and the associated HackerOne report indicate that the issue is resolved by upgrading to the fixed releases listed in the advisory.
The EPSS score rose from a low starting value to a peak of 0.0659 on 2025-12-11 before receding to the current 0.0176, signaling that exploitation interest emerged after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-34510
Vulnerability details
A Stored Cross-Site Scripting vulnerability in the project settings page in GitLab CE/EE affecting all versions from 14.4 prior to 14.10.5, 15.0 prior to 15.0.4, and 15.1 prior to 15.1.1, allows an attacker to execute arbitrary JavaScript code in GitLab…
more
on a victim's behalf.
- 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.