Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-2266: CWE-79 Improper neutralization of input during web page generation ('cross-site scripting') in GitHub Enterprise Server

0
High
VulnerabilityCVE-2026-2266cvecve-2026-2266cwe-79
Published: Tue Mar 10 2026 (03/10/2026, 18:55:38 UTC)
Source: CVE Database V5
Vendor/Project: GitHub
Product: Enterprise Server

Description

An improper neutralization of input vulnerability was identified in GitHub Enterprise Server that allowed DOM-based cross-site scripting via task list content. The task list content extraction logic did not properly re-encode browser-decoded text nodes before rendering, allowing user-supplied HTML to be injected into the page. An authenticated attacker could craft malicious task list items in issues or pull requests to execute arbitrary scripts in the context of another user's browser session. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.20 and was fixed in versions 3.18.6 and 3.19.3. This vulnerability was reported via the GitHub Bug Bounty program.

AI-Powered Analysis

AILast updated: 03/10/2026, 19:44:05 UTC

Technical Analysis

CVE-2026-2266 is a DOM-based cross-site scripting vulnerability classified under CWE-79, affecting GitHub Enterprise Server versions 3.18.0 and 3.19.0. The root cause lies in the task list content extraction logic, which fails to properly re-encode browser-decoded text nodes before rendering. This improper neutralization allows an authenticated attacker to craft malicious task list items within issues or pull requests that contain user-supplied HTML. When rendered, these malicious inputs execute arbitrary JavaScript in the context of other users' browsers viewing the affected pages. The vulnerability requires the attacker to have at least limited privileges (authenticated with low privileges) and some user interaction to trigger the malicious script execution. The impact is significant as it can lead to session hijacking, unauthorized actions, or data theft within the GitHub Enterprise Server environment. The issue was responsibly disclosed via the GitHub Bug Bounty program and fixed in versions 3.18.6 and 3.19.3. The CVSS 4.0 score is 7.4 (high), reflecting network attack vector, low attack complexity, partial authentication, and partial user interaction requirements, with high impact on confidentiality and integrity but no impact on availability.

Potential Impact

This vulnerability poses a serious risk to organizations using affected GitHub Enterprise Server versions, as it enables attackers to execute arbitrary scripts in the context of other users' sessions. Potential impacts include theft of sensitive information such as authentication tokens or credentials, unauthorized actions performed on behalf of users, and potential lateral movement within the enterprise environment. Since GitHub Enterprise Server is widely used by organizations for source code management and collaboration, exploitation could compromise intellectual property, disrupt development workflows, and erode trust in the platform. The requirement for authentication limits exposure somewhat, but insider threats or compromised accounts could be leveraged to exploit this vulnerability. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits following public disclosure.

Mitigation Recommendations

Organizations should immediately upgrade GitHub Enterprise Server to versions 3.18.6, 3.19.3, or later, where the vulnerability has been patched. Until upgrades are applied, administrators should restrict access to the affected versions by limiting user privileges and monitoring for suspicious activity related to task list content in issues and pull requests. Implementing strict content security policies (CSP) can help mitigate the impact of XSS by restricting script execution sources. Additionally, organizations should educate users about the risks of interacting with untrusted task list items and encourage vigilance for unusual behavior. Regularly auditing and reviewing pull requests and issues for suspicious content can also help detect attempted exploitation. Finally, integrating automated scanning tools that detect XSS patterns in user-generated content within the GitHub environment can provide early warning.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_P
Date Reserved
2026-02-09T20:09:11.272Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69b0713c2f860ef943a5fde8

Added to database: 3/10/2026, 7:30:04 PM

Last enriched: 3/10/2026, 7:44:05 PM

Last updated: 3/10/2026, 8:30:43 PM

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses