Skip to main content

GitLab CE/EE EUVDEUVD-2026-25042

| CVE-2026-5262 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-04-22 GitLab GHSA-g9pv-f88j-p6rr
8.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Recon
    Identify exposed Storybook instance
  2. Delivery
    Craft XSS payload exploiting input validation flaw
  3. Exploit
    Social engineer developer to click malicious link
  4. Install
    Execute JavaScript in victim's GitLab session context
  5. C2
    Extract authentication tokens from browser storage
  6. Execute
    Authenticate to GitLab as victim
  7. Impact
    Access private repositories or CI/CD secrets

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 GitLab instance to have the Storybook development environment accessible to the attacker, which is typically exposed on internet-facing GitLab installations or accessible via VPN/internal networks for on-premise deployments. The victim must have an active authenticated session with GitLab and must interact with attacker-controlled content by clicking a malicious link or viewing a crafted Storybook component (CVSS UI:R). High attack complexity (CVSS AC:H) suggests additional prerequisites beyond basic XSS exploitation, potentially involving specific Storybook configurations, browser states, or timing conditions not detailed in the public description. Limiting factors: Storybook is primarily a development tool, so exploitation is most likely against developer accounts rather than end users; many organizations restrict Storybook to internal development networks, reducing remote attack surface; modern browser XSS protections may interfere with exploitation depending on payload construction.

Impact

Real-world risk is moderate despite the high CVSS 8.0 score. The CVSS vector reveals critical limiting factors: AC:H indicates exploitation requires specific conditions beyond simple crafted requests, and UI:R mandates victim interaction (likely clicking a malicious link or viewing attacker-controlled content in Storybook). CISA SSVC classifies this as 'Exploitation: none' and 'Automatable: no', confirming it cannot be mass-scanned or exploited automatically. However, SSVC 'Technical Impact: total' reflects the severity of token theft, which grants full account access. The publicly available exploit (HackerOne 3574642) lowers the barrier for targeted attacks against development teams with Storybook environments exposed. Key risk factors: Storybook is typically used in development/staging environments rather than production, potentially limiting exposure, but organizations with internet-facing development instances or shared development platforms face elevated risk. The scope change (S:C) in CVSS indicates token theft could affect resources beyond the vulnerable component, enabling lateral movement. Priority should be HIGH for organizations with exposed Storybook instances, MEDIUM for those with network-isolated development environments.

Exploit ScenarioDerived

An attacker identifies a GitLab instance with an exposed Storybook development environment (version 16.1.0-18.11.0). They craft a malicious URL containing JavaScript payload that exploits the improper input validation in Storybook's rendering engine. The attacker sends this link to a GitLab developer via phishing email or embeds it in a legitimate-looking code review comment. When the victim clicks the link and views the Storybook interface, the XSS executes in their browser context, harvesting GitLab access tokens from cookies or local storage. The attacker uses these stolen tokens to authenticate as the victim, gaining access to private repositories, CI/CD pipelines, and potentially injecting malicious code into the development workflow.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Apr 23, 2026

Cross-site scripting vulnerability in GitLab's Storybook development environment allows remote unauthenticated attackers to steal access tokens via crafted user interaction. Affects GitLab CE/EE versions 16.1.0 through 18.9.5, 18.10 through 18.10.3, and 18.11.0. Publicly available exploit code exists (HackerOne report 3574642), though CISA SSVC indicates no confirmed active exploitation at time of analysis. CVSS 8.0 reflects high confidentiality and integrity impact with scope change, but CVSS vector AC:H (high complexity) and UI:R (user interaction required) indicate exploitation requires targeted social engineering rather than automated mass exploitation.

RemediationAI

Vendor-released patches are available: upgrade to GitLab 18.11.1, 18.10.4, or 18.9.6 depending on your current release branch. Organizations on the 16.x or 17.x series should upgrade to the latest patched version in the 18.x line. Full release details are documented at https://about.gitlab.com/releases/2026/04/22/patch-release-gitlab-18-11-1-released/. If immediate patching is not feasible, implement compensating controls: restrict network access to Storybook endpoints (typically /storybook/ paths) using firewall rules or reverse proxy ACLs to allow only trusted development networks (trade-off: may disrupt remote developer workflows); disable the Storybook feature entirely if not actively used in your development pipeline (consult GitLab documentation for feature flags); implement Content Security Policy headers to restrict script execution on GitLab domains (trade-off: requires testing to avoid breaking legitimate functionality). Monitor authentication logs for unusual token usage patterns originating from development environment IPs. GitLab's internal work item tracking the fix is available at https://gitlab.com/gitlab-org/gitlab/-/work_items/595332.

Affected VersionsENISA

GitLab 18.11 <18.11.1
GitLab 16.1.0 <18.9.6
GitLab 18.10 <18.10.4

Affected Packages

euvd gitlab fix: 18.9.6, 18.10.4, 18.11.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

This is an improper input validation vulnerability (CWE-79: Cross-site Scripting) affecting GitLab's Storybook development environment. Storybook is a frontend workshop tool used by developers to build and test UI components in isolation. The vulnerability stems from insufficient sanitization of user-controlled input within the Storybook interface, allowing injection of malicious JavaScript. When exploited, the XSS executes in the context of the GitLab domain with scope change (CVSS S:C), enabling access to authentication tokens that would normally be isolated from the Storybook environment. The CPE identifier cpe:2.3:a:gitlab:gitlab applies to both Community Edition (CE) and Enterprise Edition (EE) installations, indicating widespread applicability across GitLab's product line.

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

NVD PRIMARY 8.0 HIGH
AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

4
PoC Detected
Apr 23, 2026 - 20:38 vuln.today
Public exploit code
Patch released
Apr 23, 2026 - 20:38 nvd
Patch available
Patch available
Apr 22, 2026 - 17:33 EUVD
CVE Published
Apr 22, 2026 - 16:04 nvd
HIGH 8.0

DescriptionCVE.org

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 16.1.0 before 18.9.6, 18.10 before 18.10.4, and 18.11 before 18.11.1 that under certain conditions could have allowed an unauthenticated user to access tokens in the Storybook development environment due to improper input validation.

Executive ViewAI

Why It Matters

GitLab CE/EE versions 16.1.0-18.11.0 contain a cross-site scripting vulnerability in the Storybook environment that enables unauthenticated attackers to steal access tokens through social engineering. This directly threatens credential compromise for any organization using affected GitLab instances, potentially granting attackers repository access, CI/CD pipeline control, and deployment capabilities without requiring valid credentials.

Business Impact: High
Compensating Controls

Apply vendor patch. Interim mitigations pending patch deployment: (1) Restrict network access to GitLab Storybook component to internal networks only; (2) Disable Storybook functionality if not actively used for development; (3) Implement browser-level Content Security Policy headers to restrict script execution; (4) Monitor access logs for unusual token creation or usage patterns; (5) Enforce multi-factor authentication on all GitLab accounts to reduce token-only compromise impact.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

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

CVE-2026-93577 CRITICAL POC
9.9 Sep 23

Authenticated code execution on the GitLab server is possible in GitLab CE/EE 19.2 through 19.4.0, where an integer over

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy