CVE-2026-77912: Stored XSS in GitHub Enterprise Server Markdown rendering
- Vendor
- GitHub
CVE-2026-77912 is a stored cross-site scripting vulnerability in GitHub Enterprise Server's Markdown rendering pipeline. Quote characters are rewritten after HTML sanitization without re-sanitizing the transformed output, allowing an authenticated attacker to inject arbitrary HTML attributes through crafted Markdown, including issue comments. Same-origin JavaScript gadgets can bypass Content Security Policy and give the attacker control of the page DOM when another user views the content. The vulnerability affects releases in the 3.17 through 3.22 series preceding their respective fixed versions.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation enables script execution in a victim's browser, disclosure of victim-visible content and embedded CSRF tokens, state-changing actions with the victim's privileges, and data exfiltration through same-origin writes. Malicious content can propagate to repositories and organizations where the victim has write access.
Remediation
Patch, then assume compromise.
Upgrade GitHub Enterprise Server to the fixed version for the installed release series or a later patched release: 3.17.21, 3.18.15, 3.19.12, 3.20.8, 3.21.6, or 3.22.1. Reapply custom firewall rules after upgrading because the upgrade process removes them.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-77912 exploited in the wild?
- As of Oct 3, 2026, Mallory has no reports of CVE-2026-77912 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-77912?
- As of Oct 3, 2026, Mallory has found no public exploit for CVE-2026-77912.
- Is there a patch for CVE-2026-77912?
- Upgrade GitHub Enterprise Server to the fixed version for the installed release series or a later patched release: 3.17.21, 3.18.15, 3.19.12, 3.20.8, 3.21.6, or 3.22.1. Reapply custom firewall rules after upgrading because the upgrade process removes them.
- What products are affected by CVE-2026-77912?
- GitHub Enterprise Server.
- How severe is CVE-2026-77912?
- CVE-2026-77912 has a CVSS v4 score of 7.4 (High) and an EPSS score of 0.24% (16th percentile) as of Oct 3, 2026.
Recent activity
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.