Description
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed an authenticated user to execute arbitrary JavaScript in the context of other users' browser sessions via a specially crafted repository, due to improper sanitization of HTML attributes in syntax-highlighted output.
Published: 2026-10-13
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Cross‑Site Scripting via repository content
Action: Immediate Patch
AI Analysis

Impact

GitLab exhibits a cross‑site scripting flaw that allows an authenticated user to inject JavaScript into the web page of other users. The vulnerability arises when syntax‐highlighted output does not properly neutralize HTML attributes within a specially crafted repository, permitting the attacker to execute arbitrary scripts in the victim’s browser context. This can lead to theft of session cookies, defacement, or further lateral movement if other web resources are accessed.

Affected Systems

The flaw affects GitLab Community Edition and Enterprise Edition, covering all releases starting from 19.1 up to, but not including, 19.2.8, 19.3.5, and 19.4.2. Users running any affected version of GitLab should identify whether they are on a vulnerable release and plan a migration to a fixed build.

Risk and Exploitability

The CVSS score of 8.7 classifies this as a high‑severity vulnerability. The EPSS score is unavailable, so the probability of exploitation in the wild cannot be quantified, but the absence of a KEV listing suggests no publicly known exploitation yet. The likely attack vector requires the attacker to already be authenticated within the GitLab instance; they create or modify a repository to include the malicious content, which then runs in others’ browsers when those users view the syntax‑highlighted code. Although no higher‑level privileges are needed, the impact on confidentiality and integrity of user sessions is substantial.

Generated by OpenCVE AI on October 13, 2026 at 02:54 UTC.

Remediation

Vendor Solution

Upgrade to versions 19.2.8, 19.3.5, 19.4.2 or above.


OpenCVE Recommended Actions

  • Upgrade GitLab to at least version 19.2.8, 19.3.5, or 19.4.2 or later, depending on your current release
  • Deploy the patched version across all environments, ensuring all running instances use a fixed build
  • Review repository permissions so that only trusted users can add or edit content in projects that may be viewed by others

Generated by OpenCVE AI on October 13, 2026 at 02:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*

Tue, 13 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 19.1 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2 that, under certain conditions, could have allowed an authenticated user to execute arbitrary JavaScript in the context of other users' browser sessions via a specially crafted repository, due to improper sanitization of HTML attributes in syntax-highlighted output.
Title Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitLab
First Time appeared Gitlab
Gitlab gitlab
Weaknesses CWE-79
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Vendors & Products Gitlab
Gitlab gitlab
References
Metrics cvssV3_1

{'score': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitLab

Published:

Updated: 2026-10-14T19:13:38.570Z

Reserved: 2026-09-17T08:34:18.732Z

Link: CVE-2026-92883

cve-icon Vulnrichment

Updated: 2026-10-14T19:13:34.721Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-13T02:17:00.570

Modified: 2026-10-14T20:18:00.737

Link: CVE-2026-92883

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T04:00:15Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')