CVE-2026-8106
published medium CVSS 4.0 · 5.9Reflected HTML injection vulnerability in GitHub Enterprise Server Management Console login page allowed credential theft
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GitHub | — | Enterprise Server3.19.1 through 3.19.5 (affected · semver); changes: unaffected at 3.19.6 · 3.20.0 through 3.20.1 (affected · semver); changes: unaffected at 3.20.2 · 3.19.0 (unaffected · semver) · 3.21.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | GitHub_P |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- GitHub_P · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GitHub | Enterprise Server | 3.19.1 through 3.19.5 (affected · semver); changes: unaffected at 3.19.63.20.0 through 3.20.1 (affected · semver); changes: unaffected at 3.20.23.19.0 (unaffected · semver)3.21.0 (unaffected · semver)Default: unaffected | GitHub_P · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2Provider assertions
2GitHub_P · cna
Reflected HTML injection vulnerability in GitHub Enterprise Server Management Console login page allowed credential theft
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d7b48a10539d7c9c02945db17e59670e8d3999dd4cf115d8e54c774a506da84a
- Ingested
- 23 Sep 2026, 09:38:42 UTC
- Source record
- Official CVE record