{"id":"CVE-2021-22185","details":"Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to exploit a stored cross-site scripting vulnerability via a specially-crafted commit to a wiki","aliases":["BIT-gitlab-2021-22185"],"modified":"2026-08-27T19:00:46.839855Z","published":"2021-03-24T17:15:14.023Z","references":[{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22185.json"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/299143"},{"type":"REPORT","url":"https://hackerone.com/reports/1087061"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"1ae10d096922ba13b0ffaa20ab616f86dbeb5a89"},{"fixed":"cf644d8cfc779f5a1aa118bebcf53b4e40247c37"},{"introduced":"a1a60e9f753f4e99f2b13b24028a6092a897cc06"},{"fixed":"2817b49bf5d0f08b28dfde7b143162eecf2a88a7"}],"database_specific":{"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"13.8.0"},{"fixed":"13.8.5"},{"introduced":"13.9.0"},{"fixed":"13.9.2"}],"source":"CPE_RANGE"}}],"versions":["v13.9.1-ee","v13.9.0-ee","v13.8.3-ee","v13.8.1-ee","v13.8.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22185.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}