{"id":"CVE-2022-2865","details":"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.","aliases":["BIT-gitlab-2022-2865"],"modified":"2026-04-10T04:47:01.448383Z","published":"2022-10-17T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2865.json","cna_assigner":"GitLab"},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json"},{"type":"WEB","url":"https://hackerone.com/reports/1665658"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2865.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2865"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/370873"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"f33774cb120324d428dabf52c89b8a65e4d4c166"},{"fixed":"e3fcea907325032eeaa732b45d404a26e6310018"}],"database_specific":{"versions":[{"introduced":"9.0"},{"fixed":"15.1.6"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"d836c22d87f6f0397b93cc72ce3af27a6dc02d93"},{"fixed":"e04b0a6dd2a14f79ac08d66fea184314051a1669"}],"database_specific":{"versions":[{"introduced":"15.2"},{"fixed":"15.2.4"}]}},{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"b189ba070558de141d90142340de25bd3edcbefc"},{"fixed":"e2ffae9620a2f88ebff56d17b26046f292aef85a"}],"database_specific":{"versions":[{"introduced":"15.3"},{"fixed":"15.3.2"}]}}],"versions":["v15.2.0-ee","v15.2.2-ee","v15.3.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2865.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N"}]}