Skip to main content

GitLab EE CVE-2026-6896

| EUVDEUVD-2026-42407 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-08 cve@gitlab.com GHSA-7367-wp6r-gcqc
5.4
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as Developer-role user
  2. Delivery
    Inject unsanitized script into content field
  3. Exploit
    Victim views crafted content
  4. Execution
    Script executes in victim's browser session
  5. Impact
    Hijack session or act as victim

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

Exploitation requires an authenticated account with Developer-role permissions on a GitLab EE instance (PR:L), plus interaction from a victim user who must view or open the attacker-controlled content (UI:R). The description states the flaw is triggered 'under certain conditions' through improper sanitization of user-supplied input, indicating a specific input field/content path rather than any arbitrary request; the exact vulnerable feature is not named in the available data. Limiting factors: the attacker needs valid Developer-level credentials (not anonymous access), a victim must actively render the payload, and only the affected version ranges (13.11-18.11.6, 19.0.0-19.0.3, 19.1.0-19.1.1) are vulnerable - patched instances are not exploitable.

Impact

The CVSS 3.1 base score of 8.7 (AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N) reflects network-reachable, low-complexity exploitation that requires low privileges (an authenticated Developer account) and user interaction from the victim, with a changed scope and high confidentiality and integrity impact but no availability impact. The requirement for both a valid Developer-role account and victim interaction meaningfully limits opportunistic mass exploitation, making this more relevant to insider or account-compromise scenarios than internet-wide scanning. No EPSS score, KEV listing, or SSVC decision data was provided, so real-world exploitation probability cannot be quantified from the input; the absence of a KEV entry means there is no evidence of active exploitation. The vulnerability was reported via GitLab's HackerOne program (report 3682085), indicating a researcher-quality proof-of-concept likely exists privately, but no public exploit code was identified. Overall this is a legitimate high-severity issue warranting prompt patching for any GitLab instance with untrusted or numerous Developer-role users, but it is not a drop-everything unauthenticated RCE.

Exploit ScenarioDerived

An attacker with a Developer-role account on a shared GitLab project crafts a malicious payload in a user-supplied field that is not properly sanitized and stores it where a higher-privileged user (such as a Maintainer or admin) will view it. When the victim opens the affected page, the script executes in their authenticated browser session, allowing the attacker to steal session tokens or perform actions as the victim. Exploitation requires the victim to interact with the malicious content (UI:R), and a private HackerOne proof-of-concept likely exists though no public exploit was identified.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 08, 2026

Stored/reflected cross-site scripting in GitLab Enterprise Edition lets an authenticated user holding Developer-role permissions inject arbitrary scripts that execute in a victim user's browser session, enabling session hijacking or actions performed as the victim. It affects a broad version range (13.11 through 18.11.6, 19.0.x before 19.0.4, and 19.1.x before 19.1.2) and stems from improper sanitization of user-supplied input. There is no public exploit identified at time of analysis, though the flaw was disclosed through a HackerOne bug-bounty report.

RemediationAI

Vendor-released patch: upgrade to GitLab EE 18.11.7, 19.0.4, or 19.1.2 (or later) depending on your current release branch, as documented in the GitLab patch release notes at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-2-released/. Upgrading is the primary and recommended fix since the flaw is a server-side sanitization defect that cannot be fully mitigated at the client. Where an immediate upgrade is not possible, reduce exposure by tightening who holds Developer-role or higher permissions on sensitive projects and by limiting the assignment of untrusted accounts to roles that can author content viewed by others; note this constrains legitimate collaboration and does not eliminate the underlying XSS. A strict Content-Security-Policy at the reverse proxy can reduce script-execution impact as a defense-in-depth layer but may break GitLab UI functionality and is not a substitute for the patch. Track the internal fix via https://gitlab.com/gitlab-org/gitlab/-/work_items/597887.

Affected VersionsENISA

GitLab 19.0 <19.0.4
GitLab 19.1 <19.1.2
GitLab 13.11 <18.11.7

Affected Packages

euvd gitlab fix: 18.11.7, 19.0.4, 19.1.2

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 vulnerability is a CWE-79 (Improper Neutralization of Input During Web Page Generation) cross-site scripting flaw in GitLab EE, a self-managed and SaaS DevOps platform for source control, CI/CD, and project management. The root cause is that user-supplied input rendered into a web page is not properly sanitized/encoded, so attacker-controlled markup is interpreted as active HTML/JavaScript in another authenticated user's browser context. Because GitLab is a multi-tenant collaboration platform where lower-privileged roles (e.g., Developer) can author content that higher-privileged users view, an XSS payload stored in project artifacts (issues, merge requests, comments, or similar fields) crosses a trust boundary - reflected in the CVSS Scope:Changed metric. No CPE strings were supplied in the input, so exact affected configurations are taken from the vendor version ranges rather than NVD CPE data.

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

NVD PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 8.7 HIGH

Authenticated Developer account gives PR:L, victim must render the payload so UI:R, and stored XSS crossing into another user's session is S:C with high C/I and 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 NVD.

CVSS VectorNVD

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

Lifecycle Timeline

3
Severity Changed
Jul 09, 2026 - 20:52 NVD
HIGH MEDIUM
CVSS changed
Jul 09, 2026 - 20:52 NVD
8.7 (HIGH) 5.4 (MEDIUM)
Patch available
Jul 08, 2026 - 22:04 EUVD

DescriptionNVD

GitLab has remediated an issue in GitLab EE affecting all versions from 13.11 before 18.11.7, 19.0 before 19.0.4, and 19.1 before 19.1.2 that under certain conditions could have allowed an authenticated user with developer-role permissions to execute arbitrary scripts in another user's browser session due to improper sanitization of user-supplied input.

Executive ViewAI

Why It Matters

GitLab Enterprise Edition (versions 13.11-19.1.1) contains a cross-site scripting vulnerability that allows authenticated developers to inject malicious scripts into the platform, enabling session hijacking and unauthorized actions on behalf of other users. This directly threatens data confidentiality, integrity, and user session security across all teams relying on GitLab for code collaboration. Organizations should immediately inventory affected instances and implement compensating controls pending vendor patch availability.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict Developer-role permissions to reduce attack surface; (2) Deploy Content Security Policy (CSP) headers on GitLab instances to block inline script execution; (3) Enable and monitor GitLab audit logs for unusual script submissions and session anomalies; (4) Segment network access to GitLab administration interfaces; (5) Establish daily monitoring of CISA KEV and GitLab security advisories for patch availability; (6) Conduct security awareness training for developers on reporting suspected injection attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
High
widely deployed enterprise DevOps platform in many organizations
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
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