Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain org custom-property manager role
-
DeliveryStore SSH key as HTML in single-select option
-
ExploitSecond manager edits/removes poisoned option under sudo
-
ExecutionScript injects attacker SSH key into victim account
-
ImpactAccess repositories via victim permissions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Not a remote-unauthenticated flaw. Requires an inside attacker who is an organization member holding permission to manage custom-property definitions and edit property values (PR:H); that attacker stores attacker-controlled HTML - carrying an SSH authentication key - inside a single-select custom-property option. Exploitation then additionally requires a SECOND definition manager in the same organization to attempt to remove the poisoned option while it is in use AND to save the definition under a valid sudo session; this victim action is outside the attacker's control (UI:A). Finally, the resulting repository access through the injected key depends on the victim's permissions and on independent authorization controls. Limiting factors: two separate privileged org insiders, an active sudo session, the option being in-use at removal time, and non-default reliance on custom-property management - all of which sharply narrow realistic exploitation. Mitigation per the vendor is upgrading to the fixed releases. |
| Impact | This is a stored XSS (CWE-79) in GitHub Enterprise Server whose real-world risk is moderated by heavy preconditions, despite the 8.3 CVSS 4.0 score. The vendor 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) already encodes the two biggest limiters: PR:H means the attacker must be an organization member holding custom-property definition/edit permissions, and UI:A means a separate privileged victim must take a specific action. The input provides no EPSS score and no KEV listing, and no public exploit or PoC reference is present, so exploitation status is 'no public exploit identified at time of analysis' - it was found through the GitHub Bug Bounty program, consistent with research rather than observed abuse. The vuln.today decision label is 'this_week' (a patch-promptly priority, not emergency/act_now), which aligns with a patched, insider-constrained flaw. One tension worth flagging: the vendor rates AC:L/AT:N, yet the description requires a second definition manager to attempt to remove the poisoned option while it is in use and save with a valid sudo session - a condition largely outside the attacker's control, which I weigh as higher complexity in my own assessment below. Net: a genuine but conditional insider-abuse vulnerability on a widely deployed enterprise platform; prioritize patching within the normal cycle rather than as a drop-everything emergency. |
| Exploit ScenarioDerived | A malicious (or compromised) organization member with custom-property management rights stores HTML containing an SSH public key inside a single-select custom-property option. When another definition manager later tries to remove that poisoned option while it is still in use and saves the definition under a valid sudo session, the stored script executes in their privileged context and adds the attacker's SSH key to a victim member's personal account, after which the attacker can reach repositories the victim can access. No public exploit or PoC is identified; the issue was reported privately via the GitHub Bug Bounty program. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Stored cross-site scripting in GitHub Enterprise Server (supported releases prior to 3.23) lets an organization member who can manage custom-property definitions plant attacker-controlled HTML inside a single-select custom-property option, which is later rendered to a second privileged definition manager; the stored payload can add an attacker-controlled SSH authentication key to another member's personal account. Triggering it also requires that second definition manager to attempt removal of the poisoned option while it is still in use and to save the definition under a valid sudo session, and any repository access gained through the injected key still depends on the victim's permissions and independent authorization controls. GitHub fixed the issue in 3.19.16, 3.20.12, 3.21.10 and 3.22.5; no public exploit code or confirmed active exploitation was identified at time of analysis, and the vendor's 8.3 CVSS 4.0 base score is moderated in practice by the chain of insider-only preconditions.
RemediationAI
Upgrade to the fixed build for your release branch: 3.19.16, 3.20.12, 3.21.10 or 3.22.5, as documented in the corresponding GitHub Enterprise Server release notes (https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.16, https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.12, https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.10, https://docs.github.com/en/enterprise-server@3.22/admin/release-notes#3.22.5); GitHub identifies upgrading to these releases as the mitigation for this vulnerability, and no alternative workaround is documented in the available references. Because exploitation needs an organization member with custom-property definition management rights plus a second definition manager who removes an in-use poisoned option under a valid sudo session, environments with a single tightly controlled definition manager carry materially lower exposure than organizations where that permission is broadly delegated, but that reduction is a side effect of the permission structure rather than a vendor-supplied fix, and instances should still be moved onto the patched releases.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-79 cross-site scripting issue in GitHub Enterprise Server's organization-level custom-property functionality, the metadata definitions used to label and classify repositories. Option values for single-select custom properties were stored and later re-rendered in the definition-management interface without sufficient neutralization of embedded HTML, so attacker-supplied markup persisted server-side rather than being reflected. The CPE cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* confirms the appliance itself is the affected component, and the vendor notes all supported releases prior to 3.23 require the fix. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:A with VC:H/VI:H) and the independent CVSS 3.1 assessment (AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:H/A:N) agree that this is not a remote-unauthenticated flaw: the attacker must be an authenticated organization member holding custom-property definition management rights, and execution depends on a different privileged user performing a specific action. The trigger chain is not a generic request/response reflection; the payload only turns into script execution in the context of another administrator's browser session that holds an active sudo session, which is what allows the injected SSH key to be written to a victim's account. Resulting repository access is further bounded by the victim's own permissions and by independent authorization controls, so compromise is neither automatic nor organization-wide.
Know when Github gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
PR:H (custom-property manager role) and UI:R (a second manager must act under sudo); AC:H because success depends on that manager removing an in-use option; S:C and I:H since a key is injected into another user's account.
Primary rating from Vendor (GitHub_P).
CVSS VectorVendor: GitHub_P
DescriptionCVE.org
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.
Executive ViewAI
A stored cross-site scripting vulnerability (CVE-2026-131800) in GitHub Enterprise Server could allow an organization member with custom-property management privileges to inject malicious code that, under specific conditions, enables adding an SSH key to another member's account. This requires two privileged insiders and multiple precise steps, significantly limiting real-world risk, but successful exploitation could lead to unauthorized repository access and potential data exposure. Leadership should prioritize patching to eliminate this insider threat vector and maintain the integrity of source code protections.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in GitHub Enterprise Server Authorization and Injection Flaws
View all 8Supply chain vulnerability in Eclipse Theia GitHub Actions workflow. The preview.yml workflow uses pull_request_target w
Supply chain attack vector in OpenLIT GitHub Actions workflows. The pull_request_target trigger with checkout enables ma
Eigent multi-agent workflow CI pipeline (ci.yml) uses pull_request_target with checkout of untrusted PR code, enabling a
Apache bRPC versions before 1.15.0 contain a remote command injection vulnerability in the heap profiler built-in servic
An unsafe reflection vulnerability was identified in GitHub Enterprise Server that could lead to reflection injection. R
cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Rated critical severity (CVSS 9.
An improper verification of cryptographic signature vulnerability was identified in GitHub Enterprise Server that allowe
Unauthenticated infrastructure overwrite in Hoppscotch API development ecosystem before 2026.2.0. Attackers can overwrit
A exposure of sensitive information vulnerability exists in Jenkins GitHub Plugin 1.29.1 and earlier in GitHubTokenCrede
OneUptime versions prior to 10.0.19 allow unauthenticated attackers to hijack GitHub App integrations across projects by
PolarLearn versions 0-PRERELEASE-15 and earlier lack proper state parameter validation in OAuth 2.0 authentication, enab
Path traversal in esm.sh CDN prior to version 0.0.0-20260116051925-c62ab83c589e allows unauthenticated remote attackers
EUVD-2026-128415
GHSA-6hcf-3hg2-vpf9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB