Read the docs

Stored XSS in GitHub Enterprise Server enables SSH key addition

Priority LOW 39CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

GitHub Enterprise Server before 3.23 has a stored cross-site scripting flaw in single-select custom-property options (CWE-79). A member who can manage custom-property definitions can store HTML that adds an attacker-controlled SSH key to another member's account. Exploitation requires another definition manager to remove the poisoned option while it is in use and save the definition.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00651 45th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitHubEnterprise Server3.19.0 and later; 3.20.0 and later; 3.21.0 and later; 3.22.0 and later—No fix listedCNA
  • Enterprise Server VendorGitHub Affected 3.19.0 and later; 3.20.0 and later; 3.21.0 and later; 3.22.0 and later Fixed in — No fix listed CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:*——GitHub
  • cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* Versions — — ·GitHub

Remediation

Upgrade GitHub Enterprise Server to version 3.19.16, 3.20.12, 3.21.10 or 3.22.5, depending on the release branch in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    GitHub Enterprise Server 3.19.*, 3.20.* and 2 more versions

    6 records Highest priority Priority MEDIUM 1 MEDIUM, 5 LOW

    Other records, highest priority first

    • TI-2026-93649 Improper link resolution in GitHub Enterprise ServerPriority MEDIUM 40
    • TI-2026-93660 SSH certificate authentication bypass in GitHub Enterprise ServerPriority LOW 39
    • TI-2026-93643 Command injection in GitHub Enterprise Server runs commands on peersPriority LOW 38

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-131800
  2. 2026-11-18 Alias added: GHSA-6hcf-3hg2-vpf9
  3. 2026-11-18 CISA SSVC decision points changed
  4. 2026-11-19 EPSS moved to the below the 50th percentile

References

  • TI-2024-04632 An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES)… CVSS 4.0CRITICAL 10.0
  • TI-2022-08539 Integer overflow in table parsing extension leads to heap memory corruption CVSS 3.1CRITICAL 9.8
  • TI-2026-34990 GitHub MCP Server: Nil Pointer Dereference DoS in completion/complete Handler CVSS 3.1HIGH 7.5
  • TI-2026-32884 GitHub Copilot CLI: Nested Bare Repository Can Execute Arbitrary Commands via core.fsmonitor CVSS 4.0HIGH 8.5
  • TI-2023-11632 Quadratic complexity may lead to a denial of service in cmark-gfm CVSS 3.1HIGH 7.5
  • TI-2023-10324 Quadratic complexity may lead to a denial of service in cmark-gfm CVSS 3.1HIGH 7.5
See all 186 →

Sources