Cross-site scripting in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-5262

 

Cross-site scripting in Gitlab Community Edition and GitLab Enterprise Edition - CVE-2026-5262

Published: May 18, 2026


Vulnerability identifier: #VU131654
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: CVE-2026-5262
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GitLab, Inc
Affected software:
Gitlab Community Edition
GitLab Enterprise Edition

Detailed vulnerability description

The vulnerability allows a remote attacker to access tokens in the Storybook development environment.

The vulnerability exists due to improper input validation in Storybook when rendering content under certain conditions. A remote attacker can supply crafted input to access tokens in the Storybook development environment.

User interaction is required.


How to mitigate CVE-2026-5262

Install security update from vendor's website.

Sources