CVE-2020-13330
GitLab vulnerability analysis and mitigation

Overview

A stored Cross-Site Scripting (XSS) vulnerability was discovered in GitLab's Bitbucket project import feature, affecting versions 11.2 and later. The vulnerability, identified as CVE-2020-13330, was discovered by @saltyyolk of Chaitin Tech and was patched in GitLab versions 13.1.2, 13.0.8, and 12.10.13 released on July 1, 2020 (GitLab Release).

Technical details

The vulnerability existed in the BitbucketServerImport::Importer component of GitLab, which failed to properly sanitize links of repositories from Bitbucket servers. The issue allowed attackers to set up a malicious Bitbucket server and trick victims into importing repositories from it, potentially executing XSS payloads when victims checked the links of candidate repositories (GitLab Issue).

Impact

When successfully exploited, this vulnerability could allow attackers to execute arbitrary JavaScript code in the context of the victim's browser session. The attack required user interaction, specifically when the victim checks the links of candidate repositories during the Bitbucket import process (GitLab Issue).

Exploitability

The vulnerability required an attacker to set up a malicious Bitbucket server and convince a user to attempt importing repositories from it. While user interaction was required to complete the attack, attackers could use obfuscation tricks to hide the malicious nature of the payload (GitLab Issue).

Mitigation and workarounds

GitLab addressed this vulnerability in versions 13.1.2, 13.0.8, and 12.10.13. Users running affected versions are strongly recommended to upgrade to these patched versions or later to mitigate the risk (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-19478CRITICAL9.4
  • GitLab logoGitLab
  • gitlab-rails-19.1
NoYesAug 17, 2026
CVE-2026-10053HIGH8.5
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesAug 23, 2026
CVE-2026-19650HIGH7.1
  • GitLab logoGitLab
  • gitlab-rails-19.2
NoYesAug 17, 2026
CVE-2026-6821MEDIUM4.3
  • GitLab logoGitLab
  • gitlab
NoYesAug 12, 2026
CVE-2026-4879MEDIUM4.3
  • GitLab logoGitLab
  • gitlab-rails-19.1
NoYesAug 12, 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