{"id":"CVE-2021-22185","aliases":["BIT-gitlab-2021-22185","EUVD-2021-9331","GHSA-wf25-2f67-3rmc"],"status":"published","title":"Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to...","description":"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","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00807,"percentile":0.57144,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2021-03-24T16:39:21Z","modified":"2026-10-30T10:30:36Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["13.8.5","13.9.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"13.8.0"},{"fixed":"13.8.5"},{"introduced":"13.9.0"},{"fixed":"13.9.2"}]}]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/299143","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/1087061","tags":["x_refsource_MISC","x_transferred","Permissions Required","Third Party Advisory","advisory","report"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22185.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22185","tags":["web"]},{"url":"https://github.com/advisories/GHSA-wf25-2f67-3rmc"}],"sources":{"cve":[{"id":"CVE-2021-22185","description":"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","status":"published","published":"2021-03-24T16:39:21Z","modified":"2024-08-03T18:37:18.297Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:32:58.028461Z"}],"euvd":[{"id":"EUVD-2021-9331","description":"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","status":"published","published":"2021-03-24T16:39:21Z","modified":"2024-08-03T18:37:18Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T03:25:03.638882Z"}],"ghsa":[{"id":"GHSA-wf25-2f67-3rmc","title":"Insufficient input sanitization in wikis in GitLab version 13.8 and up allows an attacker to...","description":"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","status":"published","published":"2022-05-24T17:45:17Z","modified":"2023-01-29T05:06:09Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:45:57.703827Z"}],"nvd":[{"id":"CVE-2021-22185","description":"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","status":"published","published":"2021-03-24T17:15:14.023Z","modified":"2026-06-17T03:36:45.773Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:06:50.805771Z"}],"osv":[{"id":"CVE-2021-22185","description":"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","status":"published","published":"2021-03-24T17:15:14.023Z","modified":"2026-10-30T10:30:36.8928192Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"BIT-gitlab-2021-22185","description":"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","status":"published","published":"2024-03-06T11:20:23.439Z","modified":"2026-09-08T08:48:23.09332574Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
