{"id":"CVE-2021-22213","aliases":["BIT-gitlab-2021-22213","UBUNTU-CVE-2021-22213"],"summary":"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 S...","published_at":"2021-06-08T18:03:58Z","modified_at":"2026-09-10T16:00:34.450995Z","products":[{"slug":"gitlab","name":"GitLab CE/EE","category":"gitops-cicd"}],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"vendor_ratings":[{"source":"Ubuntu","rating":"medium"}]},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.017890000715851784,"percentile":0.7890300154685974,"date":"2026-11-20T00:00:00Z"},"priority":10.3,"record_count":4,"vendors":["Ubuntu","Bitnami"],"details":"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","affected_stack":[{"ecosystem":"CVE","package":"GitLab/GitLab","versions":[">=7.10, <13.10.5",">=13.11, <13.11.5",">=13.12, <13.12.2"],"provider":"cvelistv5","source":"CVE-2021-22213","relation":"self"},{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.10.0"},{"fixed":"13.10.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.10.0"},{"fixed":"13.10.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.11.0"},{"fixed":"13.11.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.11.0"},{"fixed":"13.11.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.12.0"},{"fixed":"13.12.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.12.0"},{"fixed":"13.12.2"}]}],"fixed":["13.10.5","13.10.5","13.11.5","13.11.5","13.12.2","13.12.2"],"provider":"nvd","source":"CVE-2021-22213","relation":"self"}],"affected_other":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/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"}]}],"fixed":["13.10.5","13.11.5","13.12.2"],"provider":"osv","source":"BIT-gitlab-2021-22213","relation":"self"},{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2021-22213","relation":"self"}],"product_status":[],"records":[{"provider":"cvelistv5","source_id":"CVE-2021-22213","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2021-22213","license":"CC-BY-4.0","published_at":"2021-06-08T18:03:58Z","modified_at":"2024-08-03T18:37:18.348Z","summary":"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 S...","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2021-22213"}],"affected":[{"ecosystem":"CVE","package":"GitLab/GitLab","versions":[">=7.10, <13.10.5",">=13.11, <13.11.5",">=13.12, <13.12.2"],"provider":"cvelistv5","source":"CVE-2021-22213","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/300308"},{"type":"WEB","url":"https://hackerone.com/reports/1089277"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22213.json"}]},{"provider":"nvd","source_id":"CVE-2021-22213","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22213","severity":[],"affected":[{"ecosystem":"NVD","package":"gitlab:gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.10.0"},{"fixed":"13.10.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"7.10.0"},{"fixed":"13.10.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.11.0"},{"fixed":"13.11.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.11.0"},{"fixed":"13.11.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.12.0"},{"fixed":"13.12.2"}]},{"type":"ECOSYSTEM","events":[{"introduced":"13.12.0"},{"fixed":"13.12.2"}]}],"fixed":["13.10.5","13.10.5","13.11.5","13.11.5","13.12.2","13.12.2"],"provider":"nvd","source":"CVE-2021-22213","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"BIT-gitlab-2021-22213","relation":"self","url":"https://osv.dev/vulnerability/BIT-gitlab-2021-22213","license":"Apache-2.0","published_at":"2024-03-06T11:19:54.437Z","modified_at":"2026-09-10T16:00:34.450995Z","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"BIT-gitlab-2021-22213"}],"affected":[{"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/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"}]}],"fixed":["13.10.5","13.11.5","13.12.2"],"provider":"osv","source":"BIT-gitlab-2021-22213","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22213.json"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/300308"},{"type":"ADVISORY","url":"https://hackerone.com/reports/1089277"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22213"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2021-22213","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-22213","license":"CC-BY-SA-4.0","published_at":"2021-06-08T19:15:00Z","modified_at":"2025-10-24T04:50:07Z","details":"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":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"UBUNTU-CVE-2021-22213"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2021-22213"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2021-22213"}],"affected":[{"ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","purl":"pkg:deb/ubuntu/gitlab@8.5.8+dfsg-5?arch=source&distro=xenial","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"],"provider":"osv","source":"UBUNTU-CVE-2021-22213","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22213"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22213"}]}],"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/issues/300308"},{"type":"WEB","url":"https://hackerone.com/reports/1089277"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22213.json"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22213"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-22213"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-22213"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2021-22213","url":"https://www.cve.org/CVERecord?id=CVE-2021-22213","license":"CC-BY-4.0","modified_at":"2024-08-03T18:37:18.348Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2021-22213","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22213","relation":"self"},{"provider":"osv","source_id":"BIT-gitlab-2021-22213","url":"https://osv.dev/vulnerability/BIT-gitlab-2021-22213","license":"Apache-2.0","modified_at":"2026-09-10T16:00:34.450995Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2021-22213","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2021-22213","license":"CC-BY-SA-4.0","modified_at":"2025-10-24T04:50:07Z","relation":"self"}]}
