# CVE-2022-2865: 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.…

- Severity: High 7.3 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.90%, higher than 60% of CVEs (2026-12-01)
- Published: 2022-10-17T00:00:00.000Z
- Modified: 2026-09-10T16:01:34.111Z
- Also known as: BIT-GITLAB-2022-2865
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitLab

## 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.

(As written by CVE List.)

## Affected

- GitLab GitLab: >=9.0, <15.1.6; >=15.2, <15.2.4; >=15.3, <15.3.2; from 9.0.0 before 15.1.6; from 15.2 before 15.2.4; from 15.3 before 15.3.2
- gitlab (Bitnami): from 9.0.0 before 15.1.6; from 15.2.0 before 15.2.4; from 15.3.0 before 15.3.2

## Every score

- GitLab: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/370873> (advisory, broken-link, third-party-advisory)
- <https://hackerone.com/reports/1665658> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2865> (web)

## Sources

- CVE List: [CVE-2022-2865](https://www.cve.org/CVERecord?id=CVE-2022-2865), CVE Terms of Use, modified 2025-05-14
- NVD: [CVE-2022-2865](https://nvd.nist.gov/vuln/detail/CVE-2022-2865), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2022-2865](https://osv.dev/vulnerability/BIT-GITLAB-2022-2865), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2022-2865 · Whole record: https://cve.day/CVE-2022-2865.json · Rebuilt by cve.day 2026-11-25T22:58:15.768Z
