Cyber Resilience

CVE-2022-2230

High

Published: 01 July 2022

Published
01 July 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 8.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
EPSS Score 0.0176 83.0th percentile
Risk Priority 17 60% EPSS · 20% KEV · 20% CVSS

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

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

gitlab
gitlab
15.1.0 · 14.4.0 — 14.10.5 · 14.4.0 — 14.10.5 · 15.0.0 — 15.0.4

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.

addresses: CWE-79

Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.

addresses: CWE-79

Validates web inputs to reject script-related content that could produce XSS.

addresses: CWE-79

Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.

References