CVE-2026-10087: GitLab EE Analytics Dashboard XSS Vulnerability – Patch Guide
GitLab Enterprise Edition contains a cross-site scripting (XSS) vulnerability in its Analytics Dashboard that allows an authenticated developer-level user to inject malicious client-side code that executes in the browser of a targeted user. The flaw stems from insufficient sanitization of user input. Exploitation requires authentication, user interaction (clicking a link or viewing crafted content), and affects multiple version branches released between mid-2024 and early 2026.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.7 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Weaknesses (CWE)
- CWE-79
- Affected products
- 2 configuration(s)
- Published / Modified
- 2026-06-11 / 2026-06-17
NVD description (verbatim)
GitLab has remediated an issue in GitLab EE affecting all versions from 17.1 before 18.10.8, 18.11 before 18.11.5, and 19.0 before 19.0.2 that under certain conditions could have allowed an authenticated user with developer-role permissions to execute arbitrary client-side code on behalf of a targeted user due to improper input sanitization in the Analytics Dashboard.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-10087 is a stored or reflected XSS vulnerability (CWE-79) affecting GitLab EE's Analytics Dashboard component. The vulnerability manifests when an authenticated user with developer role permissions supplies unsanitized input that is reflected or stored without proper HTML/JavaScript encoding. When a targeted user accesses the dashboard, their browser executes the injected script in the context of their session, potentially allowing the attacker to steal session tokens, perform actions on behalf of the victim, or exfiltrate sensitive data visible in the dashboard.
Business impact
This vulnerability can compromise confidentiality and integrity of dashboard data and user sessions within GitLab environments. For organizations using GitLab EE, a malicious developer could craft attacks targeting other users—including maintainers, product owners, or admins—to steal credentials, modify project analytics, or gain unauthorized access to repository data. The attack surface is internal to authenticated users, reducing but not eliminating risk if developer credentials are compromised or if insider threats are a concern.
Affected systems
GitLab Enterprise Edition is affected across three version branches: 17.1 through 18.10.7, 18.11.0 through 18.11.4, and 19.0.0 through 19.0.1. The Community Edition (CE) is not mentioned in the advisory, suggesting this vulnerability is specific to enterprise features. Organizations running GitLab EE should immediately verify their installed version and determine eligibility for patching.
Exploitability
Exploitation is moderately accessible. An attacker must be an authenticated user with at minimum developer role permissions—a common tier in GitLab projects. The CVSS vector indicates low attack complexity (AC:L) and network accessibility (AV:N), but requires user interaction (UI:R), meaning the victim must view or click on attacker-controlled content. This combination yields a HIGH severity rating (8.7) because successful exploitation affects confidentiality and integrity across session and system boundaries (S:C).
Remediation
Organizations should upgrade to patched versions immediately: GitLab EE 18.10.8, 18.11.5, or 19.0.2 and later. Verify upgrade paths with your current version and test in a staging environment before production deployment. In parallel, review dashboard audit logs for suspicious analytics queries or modifications made by developer accounts, particularly in the weeks prior to patching.
Patch guidance
Consult the official GitLab security advisory for detailed upgrade procedures specific to your deployment model (self-hosted, cloud, etc.). For self-hosted instances, schedule maintenance windows to upgrade all affected services. For SaaS deployments, GitLab typically manages patching; verify your instance version post-patch. Test analytics functionality after upgrade to ensure no regression. If you cannot upgrade immediately, consider restricting dashboard access to trusted developer accounts only, using role-based access controls or IP whitelisting.
Detection guidance
Monitor web server and application logs for unusual patterns in Analytics Dashboard requests, including requests with embedded HTML/JavaScript characters, unusual URI encoding, or requests from unexpected developer accounts. Look for browser-based indicators: sudden session hijacking, unauthorized actions in audit logs, or unexpected data modifications tied to dashboard access. Deploy Web Application Firewall (WAF) rules to detect and block common XSS payloads in dashboard input parameters. Correlate authentication logs with dashboard access logs to identify compromised developer accounts.
Why prioritize this
This vulnerability scores HIGH (8.7) and should be patched within 30 days for most organizations. Prioritize if: (1) you have external or untrusted developers with access, (2) your GitLab instance contains sensitive project or analytics data, or (3) compliance requirements mandate prompt remediation of XSS flaws. Lower urgency if developer roster is small, trusted, and heavily monitored, though the effort to patch is typically low.
Risk score, explained
The CVSS 3.1 score of 8.7 (HIGH) reflects: (1) network accessibility without special network configuration, (2) low barrier to exploit (only authentication required, no special privileges for XSS payload delivery), (3) user interaction requirement (victim must view the crafted content), and (4) high impact on confidentiality and integrity once executed, affecting the victim's ability to trust their session. Availability is not impacted. The cross-system boundary modifier elevates scope, increasing severity. Notably, this is not a critical zero-day and does not appear on the CISA KEV list, suggesting either recent discovery, limited public exploit activity, or effective vendor coordination.
Frequently asked questions
Does this affect GitLab Community Edition?
No, the vulnerability is specific to GitLab Enterprise Edition. If you are running CE, you are not affected. However, verify your edition in the admin panel or check your license file.
Do I need developer role to be exploited?
No. An attacker must have developer role to craft and inject the payload, but the victim (who views the malicious content) can be any authenticated user, including administrators. Developers are the threat actor in this scenario.
Is there a public exploit code available?
This vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) list as of the advisory date, and no weaponized public exploits have been widely reported. This does not mean an exploit will not emerge; patch promptly regardless.
Can I mitigate this without patching?
Partial mitigation is possible: disable or restrict access to the Analytics Dashboard for users who do not require it, implement strict role-based access controls to limit developer permissions, and use a WAF to filter XSS payloads. However, these are not substitutes for patching. Plan an upgrade as soon as feasible.
This analysis is based on official vulnerability disclosures and GitLab's security advisories current as of June 2026. Patch version numbers and affected version ranges are sourced directly from vendor guidance; verify against the official GitLab security advisory before deploying patches. This explainer does not constitute professional security advice; organizations should engage internal security and infrastructure teams or external consultants to assess risk and plan remediation in their specific environments. No exploit code, proof-of-concept payloads, or attack chains are provided in this document. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2016-20066HIGHWordPress CP Polls 1.0.8 Persistent XSS Vulnerability
- CVE-2016-20084HIGHWordPress Appointment-Booking-Calendar Unauthenticated XSS and Privilege Escalation
- CVE-2023-33999HIGHDOM-Based XSS in WP Mail Log Plugin – Analysis & Remediation
- CVE-2023-54351HIGHStored XSS in WordPress Sonaar Music Plugin 4.7 – Patch & Detection Guide
- CVE-2025-11262HIGHLink Whisper Free Stored XSS Vulnerability – Analysis & Patch Guidance
- CVE-2025-14773HIGHABB T-MAC Plus XSS Vulnerability – HIGH Risk Assessment
- CVE-2025-15654HIGHFox-themes Prague Reflected XSS Vulnerability – CVSS 7.1 (HIGH)
- CVE-2025-52759HIGHReflected XSS in UnboundStudio Accordion FAQ Plugin (Versions ≤2.2.1)