Skip to main content
Mallory
← Back to News
widely-deployed-product-advisoryinternet-facing-service-vulnerabilityidentity-authentication-vulnerability

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 patches CSRF and XSS flaws enabling token theft and browser-side code execution

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.

Patch this, or something else?See real exploitation activity before you spend the cycle.
Triage this advisory
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Apr 22, 2026
  1. Apr 22, 20267mo ago

    CVE record for CVE-2026-4922 is received by GitLab CNA

    The CVE entry for CVE-2026-4922 was newly received by cve@gitlab.com, indicating formal CVE intake for the CSRF issue affecting GitLab CE/EE. The record tied the vulnerability to GitLab's April 22 patch release and related disclosure artifacts.

  2. Apr 22, 20267mo ago

    GitLab publicly discloses CVE-2026-4922, CVE-2026-5262, and CVE-2026-5816

    GitLab disclosed details for three high-severity vulnerabilities on April 22, 2026, including affected versions, impact, CWE classifications, and CVSS vectors. The disclosures stated the flaws had been remediated and referenced GitLab patch release notes, internal work items, and HackerOne reports.

  3. Apr 22, 20267mo ago

    GitLab releases patches for three CE/EE vulnerabilities

    GitLab issued patched releases 18.9.6, 18.10.4, and 18.11.1 to remediate three vulnerabilities affecting GitLab CE/EE: CVE-2026-4922 (CSRF in GraphQL mutations), CVE-2026-5262 (XSS/input validation issue exposing tokens in Storybook), and CVE-2026-5816 (path equivalence issue enabling arbitrary JavaScript execution). The fixes covered affected version ranges spanning 16.1.0 through 18.11 depending on the flaw.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →
Do you run this?See real exploitation activity behind this advisory so you can triage it against everything else in the queue.
Prioritize This Patch
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.