Skip to main content

GitLab CE/EE EUVDEUVD-2026-50486

| CVE-2026-3093 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-29 GitLab GHSA-2rc9-8cx9-fxpr
4.7
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

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

  1. Access
    Craft JavaScript payload-embedded GitLab URL
  2. Delivery
    Deliver link to authenticated GitLab user via phishing or social engineering
  3. Exploit
    Victim opens URL in active GitLab browser session
  4. Execution
    Unsanitized input reflected into page DOM
  5. Persist
    Arbitrary JavaScript executes in GitLab origin context
  6. Impact
    Exfiltrate session token or perform authenticated API 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

The victim must be authenticated to GitLab and must click or open an attacker-crafted URL (UI:R confirmed by CVSS vector). The high attack complexity (AC:H) indicates that exploitation is not straightforward against all URL paths or input parameters - a specific endpoint or encoding condition is required to bypass GitLab's sanitization logic, as described in HackerOne report #3539833. The attacker requires no account or privileges on the GitLab instance (PR:N). Exploitation is limited to scenarios where the attacker can deliver a malicious link to a logged-in user; purely automated scanning or unauthenticated probing cannot trigger the XSS. Non-default configurations are not a prerequisite - the vulnerability exists in standard GitLab CE/EE deployments.

Impact

The CVSS base score of 4.7 (Medium) reflects the high attack complexity (AC:H) and required user interaction (UI:R), which are genuine friction points. However, three factors elevate practical risk beyond the score: first, the scope change (S:C) means successful exploitation yields cross-origin browser impact, not merely defaced content; second, the attacker requires no authentication (PR:N), lowering the barrier to targeting any GitLab user; third, a publicly available exploit is referenced on HackerOne (#3539833), demonstrating the vulnerability is practically demonstrable. No EPSS data was provided in the input, so exploitation probability cannot be quantitatively assessed. No CISA KEV listing exists at time of analysis, meaning active widespread exploitation is not confirmed. AC:H likely reflects a specific URL structure, encoding trick, or endpoint condition required to bypass existing sanitization - defenders should note this limits opportunistic mass exploitation but does not prevent targeted attacks. For organizations with sensitive code, CI/CD secrets, or privileged GitLab users, risk should be treated as higher than the score implies.

Exploit ScenarioDerived

An attacker identifies a GitLab instance running a vulnerable version, crafts a URL to a GitLab endpoint that reflects unsanitized input containing a JavaScript payload, and delivers this link to an authenticated GitLab user via phishing, chat, or a malicious issue comment. When the victim opens the link, the script executes in the GitLab origin context, silently exfiltrating their session token or personal access token to an attacker-controlled server. A publicly available proof-of-concept on HackerOne (report #3539833) confirms this attack path is practically reproducible.

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

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

Alert me

AnalysisAIv1 – Jul 29, 2026

Reflected cross-site scripting in GitLab CE/EE across a vast version range (14.0 through pre-patch releases) enables an unauthenticated attacker to execute arbitrary JavaScript in a victim's browser by enticing them to open a crafted URL. The CVSS vector confirms no authentication is required on the attacker side (PR:N), user interaction is needed (UI:R), and the scope changes (S:C) - meaning the injected script runs outside the originating page's trust boundary, enabling session hijacking, credential theft, or actions performed on the victim's behalf. A publicly available exploit exists on HackerOne (report #3539833), raising the practical risk above what the moderate CVSS score of 4.7 alone suggests.

RemediationAI

Upgrade to one of the patched releases confirmed by GitLab's patch advisory: GitLab 19.0.5, 19.1.3, or 19.2.1. The advisory is published at https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-2-1-released/ and the underlying issue is tracked at https://gitlab.com/gitlab-org/gitlab/-/work_items/591274. For organizations unable to patch immediately, a meaningful compensating control is to restrict access to GitLab to trusted internal networks or VPN only, reducing the attacker's ability to deliver crafted URLs to authenticated users from external infrastructure - note this does not eliminate the vulnerability for insider-threat scenarios. Enforcing strict Content Security Policy (CSP) headers at the reverse proxy layer may reduce XSS exploitability in some configurations, but effectiveness depends on existing CSP directives and should be validated. User awareness about not clicking unsolicited GitLab links is a low-assurance control only. Patching remains the only confirmed remediation.

Affected VersionsENISA

GitLab 14.0 <19.0.5
GitLab 19.1 <19.1.3
GitLab 19.2 <19.2.1

Affected Packages

euvd gitlab fix: 19.0.5, 19.1.3, 19.2.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

CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) describes a failure to encode or sanitize user-controlled data before rendering it in an HTML context. The CVSS vector's S:C (Changed) metric indicates this is a reflected XSS crossing the browser's same-origin policy - script injected via a crafted GitLab URL executes in the context of the GitLab origin, giving it access to session cookies, localStorage tokens, and the ability to make authenticated API requests. The affected product is GitLab CE/EE, a Ruby on Rails-based DevSecOps platform; CPE cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:* covers both Community and Enterprise editions across all platforms. The root cause is improper sanitization of user-supplied input before it is reflected into page output, a classic unsanitized-reflection pattern.

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 4.7 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

AV:N and PR:N because the attacker delivers a crafted URL with no account; AC:H reflects the specific endpoint or encoding condition required; UI:R and S:C capture the browser-side execution crossing origin boundaries.

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

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

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

Lifecycle Timeline

2
Patch available
Jul 29, 2026 - 20:02 EUVD
CVE Published
Jul 29, 2026 - 19:02 cve.org
MEDIUM 4.7

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 14.0 before 19.0.5, 19.1 before 19.1.3, and 19.2 before 19.2.1 that under certain conditions could have allowed an attacker to execute arbitrary JavaScript in another user's browser via a crafted URL, due to improper sanitization of user-controlled input.

Threat Intelligence Overview

EPSS Score
0.2%
Top 85% exploitable
Prevalence
High
widely deployed enterprise DevSecOps platform, cloud and self-hosted
Exploit
POC
Public exploit code exists
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 Yes
EPSS 0.2%
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

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