Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft JavaScript payload-embedded GitLab URL
-
DeliveryDeliver link to authenticated GitLab user via phishing or social engineering
-
ExploitVictim opens URL in active GitLab browser session
-
ExecutionUnsanitized input reflected into page DOM
-
PersistArbitrary JavaScript executes in GitLab origin context
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (GitLab).
CVSS VectorVendor: GitLab
Lifecycle Timeline
2DescriptionCVE.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
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.
An 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-50486
GHSA-2rc9-8cx9-fxpr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB