Description
A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an organization member with permission to manage custom-property definitions and edit property values to add an attacker-controlled SSH authentication key to the personal account of another member through HTML stored in a single-select custom-property option. Exploitation required another definition manager in the same organization to attempt to remove the poisoned option while it was in use and save the definition with a valid sudo session. Repository access through the added key depended on the permissions of the victim and independent authorization controls. This vulnerability affected supported GitHub Enterprise Server prior to 3.23 and was fixed in versions 3.19.16, 3.20.12, 3.21.10, and 3.22.5. This vulnerability was reported via the GitHub Bug Bounty program.
Severity (CVSS)
| Base score | 8.3 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:L/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| GitHub | Enterprise Server | 3.19.0 to <3.19.* [affected]; from 3.19.16: unaffected; 3.20.0 to <3.20.* [affected]; from 3.20.12: unaffected; 3.21.0 to <3.21.* [affected]; from 3.21.10: unaffected; 3.22.0 to <3.22.* [affected]; from 3.22.5: unaffected |
References
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16 (release-notes patch)
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12 (release-notes patch)
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10 (release-notes patch)
- https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5 (release-notes patch)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 18 Nov 2026 08:08 UTC.