GitLab patches CSRF and XSS flaws enabling token theft and browser-side code execution
Patch & Detection Intelligence · 3 sources · Updated 5mo ago · First seen Apr 22, 2026

GitLab disclosed and remediated three high-severity vulnerabilities in GitLab CE/EE that could be exploited by unauthenticated attackers under certain conditions. CVE-2026-4922 is a cross-site request forgery flaw (CWE-352) that could let an attacker trigger GraphQL mutations as an authenticated user, while CVE-2026-5262 is a cross-site scripting issue (CWE-79) that could expose tokens in the Storybook development environment. GitLab also fixed CVE-2026-5816, an improper path validation flaw (CWE-41) that could allow arbitrary JavaScript execution in a victim’s browser session.
The issues affect multiple GitLab CE/EE release lines, with patched versions identified as 18.9.6, 18.10.4, and 18.11.1 depending on the flaw. CVE-2026-4922 affects versions from 17.0 before 18.9.6, 18.10 before 18.10.4, and 18.11 before 18.11.1; CVE-2026-5262 affects versions from 16.1.0 before 18.9.6, 18.10 before 18.10.4, and 18.11 before 18.11.1; and CVE-2026-5816 affects 18.10 before 18.10.4 and 18.11 before 18.11.1. The vulnerabilities carry CVSS v3.1 ratings reflecting high confidentiality and integrity impact, and GitLab linked the disclosures to its patch release notice, internal work items, and HackerOne reports.


