What’s Vulnerable › Vulnerabilities
CVE-2022-2865
- Severity: medium (CVSS 4.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-10-17 · updated 2026-06-17
- Weakness: CWE-79
Description
A cross-site scripting issue has been discovered in GitLab CE/EE affecting all versions before 15.1.6, 15.2 to 15.2.4 and 15.3 prior to 15.3.2. It was possible to exploit a vulnerability in setting the labels colour feature which could lead to a stored XSS that allowed attackers to perform arbitrary actions on behalf of victims at client side.
Affected products
- GitLab: from 9.0.0 before 15.1.6; from 15.2 before 15.2.4; from 15.3 before 15.3.2 — fixed in 15.1.6, 15.2.4, 15.3.2
How to fix
Upgrade to a fixed version: GitLab 15.1.6, 15.2.4, 15.3.2. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/370873
- https://hackerone.com/reports/1665658
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/370873
- https://hackerone.com/reports/1665658
Get alerted when CVE-2022-2865 or the next vulnerability affects your stack