Stored cross-site scripting vulnerability in GitHub Enterprise Server allowed unauthorized SSH key addition to another user account

State
Published
Severity
8.3 High
Published
Nov 18, 2026
Updated
Nov 18, 2026
Reserved
Nov 17, 2026

Read the record on cve.org

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.

ProductVersions
Enterprise Server GitHub3.19.0 to before 3.19.* Affectedfrom 3.19.16 Not Affected3.20.0 to before 3.20.* Affectedfrom 3.20.12 Not Affected3.21.0 to before 3.21.* Affectedfrom 3.21.10 Not Affected3.22.0 to before 3.22.* Affectedfrom 3.22.5 Not Affected

Weaknesses

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

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.