# CVE-2021-22227: A reflected cross-site script vulnerability in GitLab before versions 13.11.6, 13.12.6 and 14.0.2 allowed an attacker to send a malicious l…

- Severity: Medium 6.1 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- 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): 0.95%, higher than 62% of CVEs (2026-12-01)
- Published: 2021-07-07T10:40:54.000Z
- Modified: 2026-09-08T08:48:23.062Z
- Also known as: BIT-GITLAB-2021-22227
- Weaknesses: CWE-79
- Assigned by: GitLab

## Description

A reflected cross-site script vulnerability in GitLab before versions 13.11.6, 13.12.6 and 14.0.2 allowed an attacker to send a malicious link to a victim and trigger actions on their behalf if they clicked it

(As written by CVE List.)

## Affected

- GitLab GitLab: >=12.9, <13.11.6; >=13.12, <13.12.6; >=14.0, <14.0.2; before 13.11.6; from 13.12.0 before 13.12.6; from 14.0.0 before 14.0.2
- gitlab (Bitnami): from 12.9.0 before 13.11.6; from 13.12.0 before 13.12.6; from 14.0.0 before 14.0.2

## Every score

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

## References

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

## Sources

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

---

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