CVE-2026-84739

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

Published Sep 29, 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 13.11 before 19.2.7, 19.3 before 19.3.3, and 19.4 before 19.4.1 that under certain conditions could have allowed an authenticated user to execute arbitrary JavaScript in the context of another user's browser session due to improper sanitization of path components in the merge request diff viewer.

Analysis

AI-generated

Technical impact

The vulnerability is an instance of improper sanitization of path components in the merge request diff viewer. An authenticated attacker can inject and execute arbitrary JavaScript, which allows the attacker to run code in the victim’s browser session. This can compromise confidentiality and integrity by stealing session cookies, performing actions on the victim’s behalf, or delivering further malicious payloads, potentially leading to account takeover.

Affected Systems

GitLab Community and Enterprise Editions from 13.11 through 19.2.6, 19.3 through 19.3.2, and 19.4 through 19.4.0 are affected. The issue is fixed in GitLab 19.2.7, 19.3.3, 19.4.1 and later releases.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, and the EPSS score of less than 1% suggests a very low probability of exploitation at present. This flaw is not listed in the CISA KEV catalog. An attacker would need authenticated access to the GitLab instance and the ability to view or manipulate merge request diffs; typically the vulnerability is triggered by visiting a crafted URL that renders the diff view and allows arbitrary JavaScript to be injected.

Remediation

Vendor Solution

Upgrade to versions 19.2.7, 19.3.3, 19.4.1 or above.


OpenCVE Recommended Actions

  • Upgrade GitLab to version 19.2.7, 19.3.3, 19.4.1 or later to apply the vendor fix
  • Restrict access to the merge request diff viewer so that only trusted users with legitimate development or review responsibilities can view diffs, limiting exposure to the vulnerable code path
  • Consider enabling a web‑application firewall or a stricter Content‑Security‑Policy header to block injected scripts as a secondary defense while the upgrade is in progress

Generated by OpenCVE AI on September 30, 2026 at 03:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*
cpe:2.3:a:gitlab:gitlab:19.4.0:*:*:*:community:*:*:*
cpe:2.3:a:gitlab:gitlab:19.4.0:*:*:*:enterprise:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description GitLab has remediated an issue in GitLab CE/EE affecting all versions from 13.11 before 19.2.7, 19.3 before 19.3.3, and 19.4 before 19.4.1 that under certain conditions could have allowed an authenticated user to execute arbitrary JavaScript in the context of another user's browser session due to improper sanitization of path components in the merge request diff viewer.
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
Sep 29, 2026, 3:04 PM
Reserved
Sep 2, 2026, 8:35 AM
Status
Analyzed
Published
Sep 29, 2026, 10:17 AM
Modified
Oct 5, 2026, 5:06 PM