{"id":"CVE-2021-22213","aliases":["BIT-gitlab-2021-22213","EUVD-2021-9359","GHSA-q99w-5q7g-6x5x","UBUNTU-CVE-2021-22213"],"status":"published","title":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10...","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01789,"percentile":0.7854,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2021-06-08T18:03:58Z","modified":"2026-10-30T10:30:49Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["13.10.5","13.11.5","13.12.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"7.10.0"},{"fixed":"13.10.5"},{"introduced":"13.11.0"},{"fixed":"13.11.5"},{"introduced":"13.12.0"},{"fixed":"13.12.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/300308","tags":["x_refsource_MISC","x_transferred","Broken Link","web","report"]},{"url":"https://hackerone.com/reports/1089277","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-22213.json","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22213","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q99w-5q7g-6x5x"},{"url":"https://ubuntu.com/security/CVE-2021-22213","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22213","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-22213","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2021-06-08T18:03:58Z","modified":"2024-08-03T18:37:18.348Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:32:57.368269Z"}],"euvd":[{"id":"EUVD-2021-9359","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2021-06-08T18:03:58Z","modified":"2024-08-03T18:37:18Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T03:25:03.183524Z"}],"ghsa":[{"id":"GHSA-q99w-5q7g-6x5x","title":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10...","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2022-05-24T19:04:19Z","modified":"2023-01-27T05:03:03Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:42:09.625504Z"}],"nvd":[{"id":"CVE-2021-22213","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2021-06-08T19:15:07.973Z","modified":"2026-06-17T03:36:49.037Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"CVE-2021-22213","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2021-06-08T19:15:07.973Z","modified":"2026-10-30T10:30:49.518935358Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"UBUNTU-CVE-2021-22213","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2021-06-08T19:15:00Z","modified":"2025-10-24T04:50:07Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","level":"medium"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"BIT-gitlab-2021-22213","description":"A cross-site leak vulnerability in the OAuth flow of all versions of GitLab CE/EE since 7.10 allowed an attacker to leak an OAuth access token by getting the victim to visit a malicious page with Safari","status":"published","published":"2024-03-06T11:19:54.437Z","modified":"2026-09-10T16:00:34.450995023Z","updated_at":"2026-11-02T15:28:29.999658Z"}]}}
