5.9medium
Reflected HTML injection vulnerability in GitHub Enterprise Server Management Console login page allowed credential theft
- Severity
- 5.9medium CVSS:4.0 by GitHub_P
- Exploit likelihood
- 0.16% (higher than 5% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitHub Enterprise Server | from 3.19.1 up to 3.19.5, from 3.20.0 up to 3.20.1 Not affected: 3.19.0, 3.21.0 | CVE List |
| github enterprise_server | from 3.19.1 before 3.19.6, from 3.20.0 before 3.20.2 | NVD |
All scores
| GitHub_P | 5.9medium CVSS:4.0 | 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 |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Una vulnerabilidad de inyección HTML reflejada fue identificada en la página de inicio de sesión de la Consola de Administración de GitHub Enterprise Server que podría permitir el robo de credenciales. El parámetro de consulta redirect_to en el endpoint /setup/unlock fue reflejado en un atributo HTML sin la sanitización adecuada, permitiendo a un atacante inyectar un elemento de formulario que podría capturar credenciales de administrador. La explotación requería que un administrador hiciera clic en un enlace manipulado e introdujera sus credenciales. Esta vulnerabilidad afectó a las versiones de GitHub Enterprise Server 3.19.1 a 3.19.5 y 3.20.0 a 3.20.1, y fue corregida en las versiones 3.19.6 y 3.20.2. Esta vulnerabilidad fue reportada a través del programa de recompensas por errores de GitHub.
References
| https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.6 | release-notes, vendor-advisory | |
| https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.2 | release-notes, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-8106 changed 2026-05-08 | CVE Terms of Use |
| NVD | CVE-2026-8106 changed 2026-10-26 | Public domain |