Home / Gitlab / Gitlab / CVE-2020-7971
CVE-2020-7971: is it exploited, and which versions of Gitlab are affected and fixed?
CVE-2020-7971 is a cross-site scripting (XSS) vulnerability in Gitlab. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: gitlab from 11.0.0 before 12.5.9, gitlab from 12.6.0 before 12.6.6 and gitlab from 12.7.0 through 12.7.2 (NVD). Fixed in 12.5.9 and 12.6.6 (NVD). Severity: Medium (6.1, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:16 UTC.
What is CVE-2020-7971?
GitLab EE 11.0 and later through 12.7.2 allows XSS.
From the CVE record by mitre, last updated August 4, 2024, 09:48 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| gitlab | gitlab | from 11.0.0 before 12.5.9 | application |
| gitlab | gitlab | from 12.6.0 before 12.6.6 | application |
| gitlab | gitlab | from 12.7.0 through 12.7.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:25 UTC.
How severe is CVE-2020-7971?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
| Medium 4.3 | CVSS 2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-7971 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.69% probability of exploitation activity in the next 30 days, percentile 54.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://about.gitlab.com/blog/categories/releases/ x_refsource_MISC
- https://about.gitlab.com/releases/2020/01/30/security-release-gitlab-12-7-4-released/ x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- January 24, 2020
- Published
- February 5, 2020, 15:54 UTC
- CVE record updated
- August 4, 2024, 09:48 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 03:25 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:16 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gitlab?
- Oct 13, 2026CVE-2026-97229 GitLab: integer overflow exploited
- Sep 12, 2026CVE-2026-85706 GitLab: path traversal (reading or writing files outside the intended folder) exploited
- Jan 12, 2024CVE-2023-7028 GitLab: weak password recovery exploited
- Dec 13, 2021CVE-2021-39935 GitLab: server-side request forgery (SSRF) exploited
- Jun 11, 2021CVE-2021-22175 GitLab: server-side request forgery (SSRF) exploited
- Apr 23, 2021CVE-2021-22205 GitLab: code injection (remote code execution) exploited
- Nov 26, 2026CVE-2026-17194 GitLab: use of Weak Hash
- Nov 25, 2026CVE-2026-81336 GitLab: improper Neutralization of Quoting Syntax
Questions about CVE-2020-7971
Is CVE-2020-7971 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.69% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gitlab are affected by CVE-2020-7971?
gitlab from 11.0.0 before 12.5.9, gitlab from 12.6.0 before 12.6.6 and gitlab from 12.7.0 through 12.7.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2020-7971?
12.5.9 and 12.6.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-7971?
Medium (6.1, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-7971?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.