Skip to main content

GitLab EUVDEUVD-2026-30235

| CVE-2026-6335 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-14 cve@gitlab.com GHSA-3jrg-257v-4fw6
5.4
CVSS 3.1 · Vendor: gitlab
View

Attack ChainAIDerived

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

  1. Access
    Authenticate to GitLab with low-privilege account
  2. Delivery
    Embed XSS payload in unsanitized user-controlled content field
  3. Exploit
    Victim user with elevated privileges views attacker-crafted content
  4. Execution
    Injected JavaScript executes in victim's browser session
  5. Impact
    Exfiltrate session token or perform privileged GitLab actions 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 the attacker to hold a valid, authenticated GitLab account with at least low-level project access (PR:L per CVSS vector) - unauthenticated external actors cannot trigger this vulnerability. Additionally, a separate victim user must actively view or load the attacker-controlled GitLab content for the XSS payload to execute (UI:R per CVSS vector); there is no self-executing or zero-click path, and exploitation is confirmed non-automatable per SSVC. The vulnerability is version-scoped to GitLab 18.11.x releases prior to 18.11.3 - instances on earlier major versions or already updated to 18.11.3 are not confirmed affected. The specific GitLab feature, input field, or rendering context carrying the injection point has not been publicly disclosed, as the originating HackerOne report (3673647) appears to remain under embargo. Limiting factors that constrain realistic risk: authenticated attacker prerequisite, mandatory victim interaction, non-automatable exploitation, and the undisclosed injection surface requiring targeted knowledge.

Impact

All available risk signals converge on low-to-moderate real-world priority. CVSS 5.4 Medium reflects the cross-user scope change but is tempered by mandatory victim interaction (UI:R) and low-privilege attacker authentication requirement (PR:L) - neither a zero-click flaw nor an unauthenticated one. EPSS at 0.02% places this in the 5th percentile for exploitation probability, far below the threshold where active weaponization is typically observed. SSVC independently confirms: exploitation status none, not automatable (consistent with UI:R), partial technical impact. No CISA KEV listing exists and no public POC has been identified. The 'RCE' tag present in source metadata warrants clarification: the CVE description specifies code execution 'in another user's browser session,' which is the standard XSS impact model (JavaScript execution client-side), not server-side remote code execution - this distinction is critical to avoid overestimating severity. Real-world risk escalates proportionally with the privilege level of likely victim users: on GitLab instances where owners, administrators, or CI/CD pipeline managers regularly browse user-generated content, a successful XSS chain could yield session hijacking or privileged action execution.

Exploit ScenarioDerived

An attacker holding a low-privilege GitLab account (for example, a Reporter on a shared project) crafts a malicious XSS payload embedded in a user-controlled input field - such as a merge request description, issue comment, or wiki entry - that is not properly sanitized before rendering. When a higher-privileged user (a project Owner or instance Administrator) views that content during normal GitLab usage, the injected JavaScript silently executes in their browser, enabling the attacker to exfiltrate the victim's session token, issue GitLab API requests as the victim, or modify project settings. No public POC exists at time of analysis, so this scenario requires custom exploit development against the undisclosed injection point.

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

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

Alert me

AnalysisAIv1 – Jun 08, 2026

Cross-site scripting in GitLab CE/EE 18.11.x (before 18.11.3) enables an authenticated low-privilege attacker to inject unsanitized content that executes arbitrary JavaScript within another user's browser session. The CVSS Scope Changed (S:C) flag reflects the cross-user impact boundary: the vulnerability allows one GitLab principal to affect a distinct security context belonging to a different user, including potentially higher-privileged accounts such as project owners or instance administrators. No public exploit code exists and no active exploitation has been identified - EPSS at 0.02% (5th percentile) and SSVC exploitation status of 'none' both confirm low immediate urgency - though GitLab's wide enterprise deployment makes patching to 18.11.3 advisable.

RemediationAI

Upgrade all GitLab CE/EE 18.11.x installations to version 18.11.3, the vendor-released patch documented at https://about.gitlab.com/releases/2026/05/13/patch-release-gitlab-18-11-3-released/. This is the primary and preferred remediation; no workaround fully substitutes for patching. If upgrade cannot be performed immediately, deploying or tightening a Content Security Policy (CSP) header on the GitLab instance to restrict JavaScript execution to approved origins can reduce the blast radius of successful XSS injection - however, GitLab's rich UI depends on inline scripts and this may cause feature breakage requiring testing. Additionally, restricting GitLab project membership to vetted, trusted accounts (e.g., limiting Reporter/Developer roles on sensitive projects) reduces the attacker pool, at the cost of collaboration openness. Monitoring GitLab audit logs for anomalous cross-user actions or unexpected session activity can provide detection coverage while the patch is staged.

Affected VersionsENISA

GitLab 18.11 <18.11.3

Affected Packages

euvd gitlab fix: 18.11.3

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

CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) describes a failure to neutralize user-controlled data before it is rendered in a web context, allowing injection of executable script markup. Both GitLab Community Edition and Enterprise Edition are confirmed affected per CPE strings cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* and cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*, scoped to the 18.11 branch. The CVSS Scope Changed (S:C) value is mechanistically consistent with stored or reflected XSS: the attacker's injected payload executes inside the victim's browser context - a different security principal than the GitLab application server - which crosses an implicit trust boundary. The specific input field or feature carrying the injection vector is not publicly disclosed, with the underlying HackerOne report (3673647) likely under partial embargo.

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 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary rating from Vendor (gitlab) · only source for this CVE.

CVSS VectorVendor: gitlab

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

Lifecycle Timeline

1
Patch available
May 14, 2026 - 07:16 EUVD

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.11 before 18.11.3 that under certain conditions could have allowed an authenticated user to execute arbitrary code in another user's browser session due to improper sanitization.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
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· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

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