Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-2266

CVE-2026-2266: GitHub Enterprise Server XSS Vulnerability

CVE-2026-2266 is a DOM-based cross-site scripting flaw in GitHub Enterprise Server that lets attackers inject malicious scripts via task list content. This article covers the technical details, affected versions, and mitigation.

Published: March 13, 2026

CVE-2026-2266 Overview

An improper neutralization of input vulnerability was identified in GitHub Enterprise Server that allows DOM-based cross-site scripting (XSS) via task list content. The task list content extraction logic fails to properly re-encode browser-decoded text nodes before rendering, enabling attackers to inject user-supplied HTML into the page. An authenticated attacker can craft malicious task list items in issues or pull requests to execute arbitrary scripts within another user's browser session.

Critical Impact

Authenticated attackers can execute arbitrary JavaScript in victim users' browser sessions, potentially leading to session hijacking, credential theft, and unauthorized actions within GitHub Enterprise Server environments.

Affected Products

  • GitHub Enterprise Server versions prior to 3.20
  • GitHub Enterprise Server versions prior to 3.18.6
  • GitHub Enterprise Server versions prior to 3.19.3

Discovery Timeline

  • 2026-03-10 - CVE CVE-2026-2266 published to NVD
  • 2026-03-12 - Last updated in NVD database

Technical Details for CVE-2026-2266

Vulnerability Analysis

This vulnerability exists in GitHub Enterprise Server's task list rendering functionality. When users create task lists within issues or pull requests, the server-side application extracts and processes text content from these list items. The core issue lies in how browser-decoded text nodes are handled during the rendering pipeline.

When a browser parses HTML content, it automatically decodes HTML entities within text nodes. The vulnerable code path extracts this browser-decoded content but fails to re-encode it before inserting it back into the DOM. This creates a DOM-based XSS vector where an attacker can embed malicious HTML or JavaScript that bypasses input sanitization.

The attack requires authentication, meaning an attacker must have a valid GitHub Enterprise Server account. However, once authenticated, they can target any user who views their crafted issue or pull request containing malicious task list content. This vulnerability was reported via the GitHub Bug Bounty program and classified under CWE-79 (Improper Neutralization of Input During Web Page Generation).

Root Cause

The root cause is improper handling of text node content during the task list extraction and rendering process. Specifically, the application fails to apply proper output encoding when reinserting extracted text content into the DOM. Browser-decoded content is treated as safe for direct DOM insertion, but this assumption is incorrect when the original content contained encoded malicious payloads.

Attack Vector

The attack vector is network-based and requires low complexity to exploit. An authenticated attacker creates an issue or pull request containing a specially crafted task list. The malicious payload is embedded within the task list item text, potentially using various encoding techniques to bypass initial input filters.

When a victim user views the affected issue or pull request, their browser processes the task list content. During this process, the browser decodes the text nodes, and the vulnerable extraction logic captures this decoded content. When the content is re-rendered without proper encoding, the attacker's injected HTML/JavaScript executes in the victim's browser context.

The exploitation mechanism relies on the DOM manipulation occurring client-side after initial page load. The attacker's payload could perform actions such as stealing session tokens, modifying page content, or performing actions on behalf of the victim user within the GitHub Enterprise Server instance.

Detection Methods for CVE-2026-2266

Indicators of Compromise

  • Unusual JavaScript execution patterns originating from task list DOM elements in issue or pull request pages
  • HTTP requests to external domains triggered during issue or pull request page views
  • User reports of unexpected behavior or prompts when viewing specific issues or pull requests
  • Audit logs showing suspicious activity correlated with specific issue or pull request views

Detection Strategies

  • Monitor web application logs for requests containing encoded HTML entities or JavaScript within task list parameters
  • Implement Content Security Policy (CSP) violations monitoring to detect unauthorized script execution attempts
  • Review audit logs for unusual patterns of issue or pull request creation followed by high view counts
  • Deploy browser-based XSS detection tools that can identify DOM manipulation attacks

Monitoring Recommendations

  • Enable and monitor CSP reporting endpoints for violation alerts related to inline script execution
  • Configure SIEM rules to detect patterns consistent with XSS exploitation in GitHub Enterprise Server logs
  • Monitor for unusual outbound network connections from client browsers accessing GitHub Enterprise Server
  • Implement user behavior analytics to identify accounts creating suspicious content patterns

How to Mitigate CVE-2026-2266

Immediate Actions Required

  • Upgrade GitHub Enterprise Server to version 3.18.6, 3.19.3, or 3.20 or later immediately
  • Review recent issues and pull requests for suspicious task list content containing encoded payloads
  • Audit user activity logs for signs of potential exploitation
  • Consider temporarily restricting task list functionality if immediate patching is not possible

Patch Information

GitHub has released security patches addressing this vulnerability in multiple versions. Organizations should upgrade to the following fixed versions:

  • Version 3.18.6 - See GitHub Release Notes 3.18.6 for details
  • Version 3.19.3 - See GitHub Release Notes 3.19.3 for details
  • Version 3.20 or later includes the fix by default

Organizations should prioritize patching based on their current version and follow GitHub's standard upgrade procedures for Enterprise Server deployments.

Workarounds

  • Implement a strict Content Security Policy to prevent inline script execution as a defense-in-depth measure
  • Consider using a web application firewall (WAF) rule to filter suspicious encoded payloads in request bodies
  • Limit access to issue and pull request creation to trusted users until patching is complete
  • Enable enhanced audit logging to detect potential exploitation attempts before patches are applied

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechGithub Enterprise Server

  • SeverityHIGH

  • CVSS Score7.4

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release Notes 3.18.6

  • GitHub Release Notes 3.19.3
  • Related CVEs
  • CVE-2025-13744: GitHub Enterprise Server XSS Vulnerability

  • CVE-2025-3246: GitHub Enterprise Server XSS Vulnerability

  • CVE-2026-4821: GitHub Enterprise Server RCE Vulnerability

  • CVE-2026-4296: GitHub Enterprise Server Auth Bypass Flaw
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