{"id":"CVE-2022-2865","aliases":["CVE-2022-2865","BIT-GITLAB-2022-2865"],"related":[],"kind":"vulnerability","state":"published","title":"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.…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado un problema de tipo cross-site scripting en GitLab CE/EE afectando a todas las versiones anteriores a 15.1.6, 15.2 a 15.2.4 y 15.3 anteriores a 15.3.2. Era posible explotar una vulnerabilidad en la configuración de la función de color de las etiquetas que podía conllevar a un ataque de tipo XSS almacenado que permitía a atacantes llevar a cabo acciones arbitrarias en nombre de las víctimas en el lado del cliente","source":"nvd"}],"published":"2022-10-17T00:00:00.000Z","modified":"2026-09-10T16:01:34.111Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">=9.0, <15.1.6","status":"affected"},{"version":">=15.2, <15.2.4","status":"affected"},{"version":">=15.3, <15.3.2","status":"affected"}],"vendor":"GitLab","product":"GitLab","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"9.0.0","fixed":"15.1.6"},{"status":"affected","introduced":"9.0.0","fixed":"15.1.6"},{"status":"affected","introduced":"15.2","fixed":"15.2.4"},{"status":"affected","introduced":"15.2","fixed":"15.2.4"},{"status":"affected","introduced":"15.3","fixed":"15.3.2"}],"vendor":"gitlab","product":"gitlab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"9.0.0","status":"affected","fixed":"15.1.6"},{"type":"semver","introduced":"15.2.0","status":"affected","fixed":"15.2.4"},{"type":"semver","introduced":"15.3.0","status":"affected","fixed":"15.3.2"}],"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","source":"bitnami"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/370873","tags":["advisory","broken-link","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://hackerone.com/reports/1665658","tags":["advisory","permissions-required","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2865.json","tags":["advisory","third-party-advisory","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2865","tags":["web"],"sources":["bitnami"]}],"credits":["Thanks [yvvdwf](https://hackerone.com/yvvdwf) for reporting this vulnerability through our HackerOne bug bounty program"],"assigner":"GitLab","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-14T13:56:48.463Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-2865","url":"https://www.cve.org/CVERecord?id=CVE-2022-2865","licence":"CVE Terms of Use","modified":"2025-05-14T13:57:18.072Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-2865","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2865","licence":"Public domain","modified":"2026-06-17T04:42:44.113Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITLAB-2022-2865","url":"https://osv.dev/vulnerability/BIT-GITLAB-2022-2865","licence":"Apache-2.0","modified":"2026-09-10T16:01:34.111Z"}],"updatedAt":"2026-11-25T22:58:15.768Z","epss":{"score":0.009,"percentile":0.60738,"date":"2026-12-01T12:00:22.000Z"}}