CVE-2026-92883

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

Published Oct 13, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Oct 14, 2026, 7:13 PM
Reserved
Sep 17, 2026, 8:34 AM
Status
Analyzed
Published
Oct 13, 2026, 2:17 AM
Modified
Oct 14, 2026, 8:18 PM