CVE-2020-13267
GitLab vulnerability analysis and mitigation

Overview

A Stored Cross-Site Scripting (XSS) vulnerability was discovered in GitLab CE/EE versions 12.8 through 13.0.1, identified as CVE-2020-13267. The vulnerability allowed the execution of Javascript payloads on the Metrics Dashboard (GitLab Release, NVD).

Technical details

The vulnerability was caused by improper input validation in the metric dashboard duplication functionality. The modal to duplicate the dashboard failed to properly escape the default branch name, enabling stored XSS attacks. The vulnerability received a CVSS v3.1 Base Score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD).

Impact

The stored XSS vulnerability could be triggered by any user with reporter access or above to the project. The exploit could be used to steal users' CSRF tokens and potentially lead to account takeover. The vulnerability was particularly severe as it could be executed on gitlab.com and had full impact for self-managed instances (HackerOne Report).

Exploitability

The vulnerability could be exploited by creating a specially crafted branch name containing malicious JavaScript code. When users accessed the Metrics Dashboard and attempted to duplicate it, the malicious code would execute in their browser context. The exploit was demonstrated to work on gitlab.com despite Content Security Policy (CSP) protections (HackerOne Report).

Mitigation and workarounds

The vulnerability was patched in GitLab versions 13.0.1, 12.10.7, and 12.9.8. GitLab strongly recommended that all installations running affected versions be upgraded to the latest version immediately (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75871CRITICAL9.6
  • GitLab logoGitLab
  • gitlab
NoYesAug 27, 2026
CVE-2026-18252HIGH8.1
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
NoYesAug 26, 2026
CVE-2026-77801MEDIUM6.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
NoYesAug 26, 2026
CVE-2026-3035MEDIUM5.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 26, 2026
CVE-2026-7487LOW3.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management