{"id":"CVE-2022-2904","details":"A cross-site scripting issue has been discovered in GitLab CE/EE affecting all versions starting from 15.2 before 15.2.5, all versions starting from 15.3 before 15.3.4, all versions starting from 15.4 before 15.4.1 It was possible to exploit a vulnerability in the external status checks 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-2904"],"modified":"2026-10-30T10:46:18.458940411Z","published":"2022-11-02T00:00:00Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2904.json","cna_assigner":"GitLab"},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-2904.json"},{"type":"WEB","url":"https://hackerone.com/reports/1628009"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2904.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2904"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/367408"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"d836c22d87f6f0397b93cc72ce3af27a6dc02d93"},{"fixed":"0b24f0547393a5606b1ec7e4e31cfeab4bce5cab"},{"introduced":"b189ba070558de141d90142340de25bd3edcbefc"},{"fixed":"9c6bb746bd31413e3310bacd1ac5710d20aa32c0"},{"introduced":"abbda55531f0a9d630eee1dcf2305ca499c94116"},{"last_affected":"abbda55531f0a9d630eee1dcf2305ca499c94116"}],"database_specific":{"extracted_events":[{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"15.2"},{"fixed":"15.2.5"}]},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"15.2"},{"last_affected":"15.2.5"}],"source":"CPE_RANGE"},{"range":[{"introduced":"15.3"},{"fixed":"15.3.4"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"15.3"},{"last_affected":"15.3.4"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:gitlab:gitlab:15.4:*:*:*:community:*:*:*","range":[{"introduced":"15.4"},{"last_affected":"15.4"}],"source":"CPE_STRING"},{"cpe":"cpe:2.3:a:gitlab:gitlab:15.4:*:*:*:enterprise:*:*:*","range":[{"introduced":"15.4"},{"last_affected":"15.4"}],"source":"CPE_STRING"}]}}],"versions":["15.4","v15.3.3-ee","v15.4.0-ee","v15.2.2-ee","v15.3.0-ee","v15.2.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2904.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N"}]}