The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-7481

CVE-2026-7481: GitLab EE Stored XSS Vulnerability

CVE-2026-7481 is a stored cross-site scripting flaw in GitLab EE that allows authenticated developers to execute malicious JavaScript in other users' browsers. This article covers technical details, affected versions, and mitigation.

Published: May 14, 2026

CVE-2026-7481 Overview

CVE-2026-7481 is a stored Cross-Site Scripting (XSS) vulnerability in GitLab Enterprise Edition (EE). The flaw affects all versions from 16.4 before 18.9.7, 18.10 before 18.10.6, and 18.11 before 18.11.3. An authenticated user with developer-role permissions can inject arbitrary JavaScript that executes in other users' browsers due to improper input sanitization. The issue is tracked as CWE-79 and was remediated in the GitLab 18.11.3 patch release.

Critical Impact

A developer-role attacker can execute arbitrary JavaScript in victim browsers, enabling session theft, account takeover, and pivoting against higher-privileged GitLab users including maintainers and administrators.

Affected Products

  • GitLab EE versions 16.4 through 18.9.6
  • GitLab EE versions 18.10 through 18.10.5
  • GitLab EE versions 18.11 through 18.11.2

Discovery Timeline

  • 2026-05-14 - CVE-2026-7481 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-7481

Vulnerability Analysis

The vulnerability is a stored Cross-Site Scripting (XSS) flaw classified under CWE-79. GitLab EE fails to properly sanitize user-supplied input before rendering it in the application interface. An attacker with developer-role permissions submits crafted content containing JavaScript payloads. The payload is persisted and later rendered in the browser of any user who views the affected resource.

The scope is changed (S:C) because script execution crosses the trust boundary of the authenticated session. A successful attack can hijack session tokens, perform actions on behalf of victims, or exfiltrate sensitive project data. The required user interaction (UI:R) is satisfied when a victim simply views the injected content within the GitLab UI.

Root Cause

The root cause is missing or insufficient output encoding for input fields accessible to developer-role accounts. GitLab's sanitization pipeline did not filter all JavaScript-capable constructs prior to rendering. The remediation in versions 18.9.7, 18.10.6, and 18.11.3 introduces proper escaping or content sanitization on the affected code path. Details of the impacted component are tracked in the GitLab Work Item Update.

Attack Vector

Exploitation requires an authenticated GitLab account with developer-role permissions on a target project. The attacker stores a malicious payload through a vulnerable input field. When a maintainer, owner, or other user with elevated privileges views the content, the JavaScript executes in their browser context. The attack vector is network-based and does not require local access. Further technical context is available in the HackerOne Security Report.

No verified public proof-of-concept code is available at the time of writing. The vulnerability mechanism follows standard stored XSS exploitation patterns where script content survives input handling and reaches the DOM without proper escaping.

Detection Methods for CVE-2026-7481

Indicators of Compromise

  • Unexpected <script> tags, event handlers, or javascript: URIs in GitLab issue descriptions, comments, merge requests, wiki pages, or project metadata
  • Outbound HTTP requests from authenticated GitLab user sessions to unknown external domains
  • Anomalous GitLab API actions performed by maintainer or owner accounts shortly after viewing developer-contributed content
  • New personal access tokens or SSH keys created without corresponding user-initiated activity

Detection Strategies

  • Audit GitLab database content for stored fields containing HTML or JavaScript constructs supplied by developer-role users
  • Review GitLab production logs for requests containing payload patterns associated with XSS such as encoded <script>, onerror=, or onload= attributes
  • Correlate session activity in GitLab audit events with browser-side telemetry to identify scripted actions originating from rendered content

Monitoring Recommendations

  • Enable GitLab audit event streaming and forward to a centralized log platform for retention and search
  • Monitor for privilege changes, token creation, and repository access by accounts that recently viewed developer-submitted content
  • Track GitLab version inventory across self-managed instances to confirm patched releases are deployed

How to Mitigate CVE-2026-7481

Immediate Actions Required

  • Upgrade GitLab EE to version 18.11.3, 18.10.6, or 18.9.7 according to your current release branch
  • Review developer-role membership across projects and remove unnecessary accounts to reduce the attacker pool
  • Rotate session tokens, personal access tokens, and SSH keys for accounts that may have viewed malicious content prior to patching

Patch Information

GitLab released fixed versions on 2026-05-13. Self-managed administrators should apply 18.11.3, 18.10.6, or 18.9.7 immediately. GitLab.com SaaS instances are patched by the vendor. See the GitLab Patch Release Note for full release details and upgrade instructions.

Workarounds

  • No vendor-supplied workaround is published; upgrading to a fixed version is the required remediation
  • As a temporary risk reduction, restrict developer-role assignments and require maintainer review of new content from untrusted contributors
  • Enforce a strict Content Security Policy (CSP) at the reverse proxy layer to limit inline script execution in the GitLab UI
bash
# Verify GitLab version after upgrade
sudo gitlab-rake gitlab:env:info | grep "GitLab information" -A 5
# Expected: Version: 18.11.3 (or 18.10.6 / 18.9.7)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechGitlab

  • SeverityHIGH

  • CVSS Score8.7

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitLab Patch Release Note

  • GitLab Work Item Update

  • HackerOne Security Report
  • Related CVEs
  • CVE-2026-7377: GitLab EE XSS Vulnerability

  • CVE-2026-6335: GitLab CE/EE XSS Vulnerability

  • CVE-2026-6073: GitLab Enterprise Edition XSS Vulnerability

  • CVE-2025-12669: GitLab CE/EE XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English