Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify reachable GitLab instance and target user
-
DeliveryCraft link abusing improper path validation
-
ExploitLure authenticated victim to open it
-
ExecutionXSS payload executes in victim session
-
ImpactSteal session token / 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 (1) a logged-in GitLab user as the victim and (2) that victim to interact with attacker-supplied content (UI:R) - typically clicking a crafted link or loading a malicious page within GitLab. It further depends on the unspecified 'certain conditions' tied to the improper path-validation flaw, consistent with the CVSS AC:H rating, meaning the payload is not trivially or universally triggerable across all states. No authentication is required of the attacker (PR:N), so the attacker side is unauthenticated. Limiting factors that reduce real-world risk: the mandatory user interaction, the need for the victim to already hold an active GitLab session, and the conditional triggering path; there is no indication of a default-configuration, zero-click vector. |
| Impact | Signals point to a real but conditional risk rather than a mass-exploitation emergency. The CVSS vector (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N, base 8.0) shows network reach with no attacker authentication, raising severity, but AC:H ('under certain conditions') and UI:R (a user must interact) materially limit reliability and scale. No EPSS score is provided to gauge exploitation probability, and the vulnerability is NOT in CISA KEV, so there is no evidence of active exploitation. A HackerOne report (3688717) indicates responsible researcher disclosure, but a private bug-bounty report is not public exploit code - POC availability is unconfirmed. Net: this is a credible session-hijack XSS in a widely deployed platform that should be patched promptly, but the high CVSS is tempered by required user interaction and unspecified preconditions, making it a priority patch rather than a drop-everything actively-exploited threat. The description's 'under certain conditions' is internally consistent with the CVSS AC:H rating. |
| Exploit ScenarioDerived | An attacker crafts a malicious GitLab URL or resource path that abuses the improper path validation, then lures a logged-in GitLab user (e.g., via a project link, comment, or external message) into opening it. When the victim's browser renders the page, attacker JavaScript executes within the victim's authenticated GitLab session, enabling session token theft, actions performed as the victim, or repository/account manipulation. Exploitation requires the victim's interaction and the specific triggering conditions, and no public POC has been identified. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Cross-site scripting in GitLab CE/EE (18.10 through 18.11.5, 19.0 through 19.0.2, and 19.1.0) lets an unauthenticated attacker run arbitrary JavaScript in a victim's authenticated browser session by abusing improper path validation, but only under specific conditions and after a logged-in user interacts with attacker-controlled content. The CVSS 8.0 rating (scope-changed, high confidentiality and integrity impact) reflects that successful exploitation effectively hijacks the victim's GitLab session. No public exploit has been identified at time of analysis and the issue is not in CISA KEV, though a HackerOne report exists and GitLab shipped fixes in 18.11.6, 19.0.3, and 19.1.1.
RemediationAI
Upgrade to a fixed release: GitLab CE/EE 18.11.6, 19.0.3, or 19.1.1 (or later) depending on your branch - Vendor-released patches: 18.11.6 / 19.0.3 / 19.1.1, per https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-1-1-released/. Self-managed administrators should apply the patch release immediately, since GitLab.com is already remediated. If upgrading cannot be scheduled at once, reduce exposure by restricting network access to the GitLab web interface (VPN/IP allowlist) so untrusted users cannot deliver malicious links to authenticated staff, and reinforce a strict Content-Security-Policy to limit inline-script execution where supported - note that custom CSP changes can break legitimate GitLab UI features and integrations and must be tested. Advising users not to click untrusted GitLab links is a weak compensating control given UI:R is the only interaction barrier; patching is the only reliable fix. Track remediation via the work item at https://gitlab.com/gitlab-org/gitlab/-/work_items/601857.
Affected VersionsENISA
Affected Packages
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
GitLab is a self-managed and SaaS DevOps platform (Git hosting, CI/CD, issue tracking) built as a large Ruby on Rails application with a heavily JavaScript-driven frontend. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), here reached via improper path validation: a route or resource path is not correctly canonicalized or sanitized before being reflected into the DOM, letting attacker-controlled data escape into an executable script context. Because the injected script runs inside the trusted GitLab origin, it inherits the victim's authenticated session, which is why the CVSS scope is Changed (S:C) - the vulnerable web component compromises the separate browser security context. Exact affected CPEs are not enumerated in the provided NVD data beyond the version ranges in the description.
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Network-delivered XSS needing victim interaction and conditional preconditions gives AV:N/AC:H/UI:R; attacker unauthenticated (PR:N); script in trusted origin changes scope (S:C) with high C/I and no availability impact.
Primary rating from Vendor (gitlab).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.10 before 18.11.6, 19.0 before 19.0.3, and 19.1 before 19.1.1 that under certain conditions could have allowed an unauthenticated user to execute arbitrary JavaScript in a user's browser session due to improper path validation under certain conditions.
Articles & Coverage 2
Executive ViewAI
GitLab CE/EE versions 18.10 through 19.1.0 contain a session-hijacking vulnerability allowing attackers to compromise authenticated developer and administrator accounts through social engineering tactics, potentially exposing source code, CI/CD credentials, and deployment infrastructure. This vulnerability directly threatens software supply chain security and requires immediate patching across all affected deployments.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in GitLab CE/EE Authorization and Information Disclosure Flaws
View all 13An issue has been discovered in GitLab CE/EE affecting all versions starting from 11.9. Rated critical severity (CVSS 10
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.
When requests to the internal network for webhooks are enabled, a server-side request forgery vulnerability in GitLab af
Unauthenticated arbitrary file read in GitLab CE/EE lets remote attackers retrieve files from the GitLab server via the
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)
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
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
The Ruby SAML library is for implementing the client side of a SAML authorization. Rated critical severity (CVSS 9.8), t
Remote code execution in GitLab CE/EE can be triggered by a specially crafted regular expression processed through a vul
Sensitive credential and configuration disclosure in GitLab Enterprise Edition allows an authenticated user with Duo Cha
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
Authenticated command injection in Dokploy (self-hostable PaaS) versions 0.29.3 through 0.29.12 lets a low-privileged us
EUVD-2026-39171
GHSA-93jf-78vf-79px
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB