CVE-2026-8106 PUBLISHED

Reflected HTML injection vulnerability in GitHub Enterprise Server Management Console login page allowed credential theft

Assigner: GitHub_P
Reserved: 07.05.2026 Published: 07.05.2026 Updated: 07.05.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 5.9

Product Status

Vendor GitHub
Product Enterprise Server
Versions Default: unaffected
  • affected from 3.19.1 to 3.19.5 (incl.)
  • affected from 3.20.0 to 3.20.1 (incl.)
  • Version 3.19.0 is unaffected
  • Version 3.21.0 is unaffected

Credits

  • maksyche finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') CWE

Impacts

  • CAPEC-243 XSS Targeting HTML Attributes