Skip to main content

GitLab CVE-2026-84739

| EUVDEUVD-2026-88687 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-09-29 GitLab GHSA-hrj5-qwx9-f2q7
8.7
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged GitLab user
  2. Delivery
    Create merge request with malicious path component
  3. Exploit
    Victim opens MR diff viewer
  4. Execution
    Unsanitized path executes JavaScript
  5. Impact
    Hijack victim's session in browser context

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated GitLab CE/EE account with sufficient privilege to create or modify a merge request (PR:L), and a specific triggering condition: the crafted malicious content must reside in a path component that flows into the merge request diff viewer, which improperly sanitizes it. Exploitation further requires a second user to view that merge request's diff (UI:R) for the JavaScript to fire in their session. Limiting factors: victim interaction is mandatory, the attacker must already hold a valid account on the instance, exploitation is scoped to instances running affected versions (13.11 up to the fixed 19.2.7/19.3.3/19.4.1 releases), and the description notes it only occurs 'under certain conditions' in the diff viewer rather than universally.

Impact

This is a genuine priority, not a paper tiger. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N) describes a network-reachable, low-complexity stored/DOM XSS requiring only a low-privileged authenticated account and victim interaction, with a scope change (S:C) reflecting that code executes in a different user's browser context. Publicly available exploit code exists (HackerOne report #3938482 linked as an 'exploit' reference), which meaningfully raises real-world risk. However, the vulnerability is NOT in CISA KEV - there is no confirmation of active exploitation - and no EPSS score was provided in the input, so the probability of widespread automated exploitation cannot be quantified here. The description's qualifier 'under certain conditions' indicates exploitation is not fully universal against every MR, tempering the raw score. Net: high-severity, vendor-confirmed, patch-available, POC-public issue in a ubiquitous DevOps platform - treat as high priority for patching, but note that POC availability is distinct from confirmed in-the-wild use.

Exploit ScenarioDerived

An authenticated GitLab user with permission to push a branch or open a merge request crafts a source/target path containing a malicious payload that the merge request diff viewer fails to sanitize. When another user (e.g., a reviewer or maintainer) opens that merge request's diff, the JavaScript executes in their authenticated session, allowing session/token theft or actions performed as the victim. A public POC exists via the referenced HackerOne report, lowering the barrier to reproduction.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 29, 2026

Stored cross-site scripting in GitLab CE/EE lets an authenticated user who can create or modify a merge request embed crafted content in a path component that the merge request diff viewer fails to sanitize, so arbitrary JavaScript executes in the browser session of any other user who views that diff. All versions from 13.11 up to the fixed releases 19.2.7, 19.3.3 and 19.4.1 are affected; the CVSS 3.1 base score is 8.7 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N), reflecting network reachability, low privileges required, mandatory victim interaction, and a scope change because the attacker compromises a different user's session rather than their own. Publicly available exploit code exists - the issue was disclosed through GitLab's HackerOne program - but there is no evidence of confirmed active exploitation (CISA KEV) at time of analysis.

RemediationAI

Vendor-released patch: upgrade to GitLab 19.2.7, 19.3.3, or 19.4.1 (or later) on the applicable maintenance track, as documented in the patch release advisory at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-4-1-released/. Upgrading to the latest available minor release is preferred for instances that have fallen several branches behind. Where immediate upgrade is impossible, compensating controls are limited because the payload is stored in normal merge request content and the trigger is a routine reviewer action: restrict who can create or modify merge requests on sensitive projects (for example by tightening project/group membership and using protected branches so path components cannot be introduced by untrusted contributors), accepting the trade-off of reduced collaboration velocity; require merge request review by a small trusted set of users rather than broad membership, which reduces the number of potential victims but does not remove the flaw; and enforce a restrictive Content-Security-Policy at the reverse proxy in front of GitLab to blunt script execution, recognizing that GitLab's own asset and inline-script requirements make a strict policy operationally difficult and it may break UI features. Raising the account-provisioning bar on self-managed instances - disabling open registration and requiring administrator approval - reduces the population of accounts that can plant payloads, at the cost of onboarding friction. Treat the public HackerOne report at https://hackerone.com/reports/3938482 as evidence that exploit details are available, and prioritize patching any instance where untrusted or external users are granted merge request permissions.

Affected VersionsENISA

GitLab 13.11 <19.2.7
GitLab 19.3 <19.3.3
GitLab 19.4 <19.4.1

Affected Packages

euvd gitlab fix: 19.2.7, 19.3.3, 19.4.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a stored (persistent) cross-site scripting condition, CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), localized to the merge request diff viewer of GitLab CE and EE. When a merge request diff is rendered, file path components derived from repository content are presented to the browser, and those path components are not sanitized correctly before being emitted into the page. Because the payload is stored in repository/merge request content rather than reflected in a request, it persists until an unsuspecting second user opens the affected diff - matching the UI:R prerequisite in the assessed vector. The scope change (S:C) is meaningful here: the script executes in the victim's browsing context with that user's privileges and session cookies/CSRF tokens, so an attacker holding only a low-privileged account can act as a higher-privileged reviewer or maintainer. The CVSS vector AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N indicates no authentication bypass is needed to reach the endpoint, but a valid account is required to plant the payload and victim interaction is required to trigger it. The CPE entry cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:* is a wildcard, reflecting that GitLab tracks CE and EE under a single product identifier across self-managed and GitLab.com deployments.

Know when Gitlab gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitLab) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

Network-reachable diff viewer with a low-priv account (PR:L) and required victim view (UI:R); XSS runs in the victim's session (S:C) enabling session/data theft and actions (C:H/I:H), no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Sep 29, 2026 - 11:01 EUVD
CVE Published
Sep 29, 2026 - 09:34 cve.org
HIGH 8.7

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

GitLab CE/EE is affected by a stored cross-site scripting vulnerability that allows an authenticated user to execute arbitrary JavaScript in the browser session of any other user who views a crafted merge request diff. This could lead to session hijacking, unauthorized data access, and compromise of sensitive code repositories, impacting development teams and potentially exposing intellectual property. Publicly available exploit code exists, and with a high CVSS score of 8.7, security leadership should prioritize remediation to prevent insider threats or lateral movement within development environments.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 72% exploitable
Prevalence
High
GitLab CE/EE is a widely deployed enterprise DevOps/source-control platform
Exploit
POC
Public exploit code exists
Social Media
4
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Gitlab

View all
CVE-2021-22205 CRITICAL POC
10.0 Apr 23

An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10

CVE-2023-7028 CRITICAL POC
10.0 Jan 12

An issue has been discovered in GitLab CE/EE affecting all versions from 16.1 prior to 16.1.6, 16.2 prior to 16.2.9, 16.

CVE-2021-22175 CRITICAL POC
9.8 Jun 11

When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af

CVE-2026-85706 CRITICAL POC
10.0 Sep 12

Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the

CVE-2026-97229 CRITICAL POC
10.0 Oct 13

Remote code execution in GitLab CE/EE (all versions from 19.2 before 19.2.8, 19.3 before 19.3.5, and 19.4 before 19.4.2)

CVE-2013-4490 MEDIUM POC
6.5 May 13

The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x

CVE-2022-2992 CRITICAL POC
9.9 Oct 17

A vulnerability in GitLab CE/EE affecting all versions from 11.10 prior to 15.1.6, 15.2 to 15.2.4, 15.3 to 15.3.2 allows

CVE-2024-45409 CRITICAL POC
9.8 Sep 10

The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t

CVE-2026-110264 CRITICAL POC
10.0 Oct 22

Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul

CVE-2026-87719 CRITICAL POC
9.9 Sep 12

Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha

CVE-2018-18843 CRITICAL POC
10.0 Dec 04

The Kubernetes integration in GitLab Enterprise Edition 11.x before 11.2.8, 11.3.x before 11.3.9, and 11.4.x before 11.4

CVE-2026-72867 CRITICAL POC
9.9 Aug 10

Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy