CVE-2026-10585
Stored cross-site scripting vulnerability in GitHub Enterprise Server allowed arbitrary JavaScript execution via crafted Discussion titles in the Q&A category
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running GitHub Enterprise Server >= 3.17.0, <= 3.17.16; >= 3.18.0, <= 3.18.10; >= 3.19.0, <= 3.19.7; >= 3.20.0, <= 3.20.3; >= 3.16.0, <= 3.16.19
Vulnerability facts
- Affected
- GitHub Enterprise Server >= 3.17.0, <= 3.17.16; >= 3.18.0, <= 3.18.10; >= 3.19.0, <= 3.19.7; >= 3.20.0, <= 3.20.3; >= 3.16.0, <= 3.16.19
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:H/SI:H/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: Passive
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: High
- Integrity impact on other systems: High
- Availability impact on other systems: None
- EPSS
- 0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
A stored cross-site scripting vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to execute arbitrary JavaScript in another user's browser by injecting a crafted payload into the title of a Discussion in the Q&A category. The AnsweredQuestionStructuredDataComponent did not escape user-controlled Discussion titles before embedding them in a <script type="application/ld+json"> block, allowing the title to break out of the script context. The injection was escalated to a full cross-site scripting attack on GitHub Enterprise Server by leveraging JSONP callback support in the REST API to bypass the Content Security Policy. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.20.4, 3.19.8, 3.18.11, 3.17.17, 3.16.20. This vulnerability was reported via the GitHub Bug Bounty program.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| GitHub Enterprise Server | >= 3.17.0, <= 3.17.16; >= 3.18.0, <= 3.18.10; >= 3.19.0, <= 3.19.7; >= 3.20.0, <= 3.20.3; >= 3.16.0, <= 3.16.19 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-10585. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-10585.md Affected: GitHub Enterprise Server >= 3.17.0, <= 3.17.16; >= 3.18.0, <= 3.18.10; >= 3.19.0, <= 3.19.7; >= 3.20.0, <= 3.20.3; >= 3.16.0, <= 3.16.19 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for GitHub Enterprise Server: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.17
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.11
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.8
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.4
- https://docs.github.com/en/enterprise-server@3.16/admin/release-notes#3.16.20
FAQ
Is CVE-2026-10585 being exploited?
There is no confirmed exploitation: CVE-2026-10585 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-10585?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2026-10585?
GitHub Enterprise Server >= 3.17.0, <= 3.17.16; >= 3.18.0, <= 3.18.10; >= 3.19.0, <= 3.19.7; >= 3.20.0, <= 3.20.3; >= 3.16.0, <= 3.16.19.
Is there a fix for CVE-2026-10585?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-10585?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.