# CVE-2021-22213: 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 to…

- Severity: High 8.8 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.79%, higher than 79% of CVEs (2026-12-01)
- Published: 2021-06-08T18:03:58.000Z
- Modified: 2026-09-10T16:00:34.450Z
- Also known as: BIT-GITLAB-2021-22213
- Assigned by: GitLab

## 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

(As written by CVE List.)

## Affected

- GitLab GitLab: >=7.10, <13.10.5; >=13.11, <13.11.5; >=13.12, <13.12.2; from 7.10.0 before 13.10.5; from 13.11.0 before 13.11.5; from 13.12.0 before 13.12.2
- gitlab (Bitnami): from 7.10.0 before 13.10.5; from 13.11.0 before 13.11.5; from 13.12.0 before 13.12.2

## Every score

- GitLab: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/300308> (broken-link, web)
- <https://hackerone.com/reports/1089277> (advisory, permissions-required, third-party-advisory)
- <https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22213.json> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22213> (web)

## Sources

- CVE List: [CVE-2021-22213](https://www.cve.org/CVERecord?id=CVE-2021-22213), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-22213](https://nvd.nist.gov/vuln/detail/CVE-2021-22213), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2021-22213](https://osv.dev/vulnerability/BIT-GITLAB-2021-22213), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2021-22213 · Whole record: https://cve.day/CVE-2021-22213.json · Rebuilt by cve.day 2026-11-25T22:58:01.692Z
