目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-77912— GitHub Enterprise Server Markdown 渲染 XSS 漏洞

一分钟漏洞结论

影响对象
GitHub Enterprise Server
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

在 GitHub Enterprise Server 中发现了一个存储型跨站脚本(XSS)漏洞,该漏洞允许经过身份验证的攻击者在渲染后的 Markdown 中注入任意的 HTML 属性。原因是 Markdown 渲染管道在重新处理已清理的 HTML 时,仅对引号字符进行了重写,但并未对结果重新进行清理。构造的 Markdown 可以利用同源 JavaScript 工具来绕过内容安全策略(CSP),并在其他用户查看时控制页面 DOM。成功利用该漏洞后,攻击者可以读取受害者可见的内容、提取嵌入的 CSRF 令牌,以受害

CVSS 7.4 · High EPSS 0.24% · P16

影响版本矩阵 6

厂商产品 版本范围状态
GitHub Enterprise Server 3.17.0< 3.17.* affected
3.18.0< 3.18.* affected
3.19.0< 3.19.* affected
3.20.0< 3.20.* affected
3.21.0< 3.21.* affected
3.22.0< 3.22.* affected
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2026-77912 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Stored cross-site scripting vulnerability in GitHub Enterprise Server allowed HTML attribute injection via the Markdown rendering pipeline
来源: CVE Program / CVE List V5
Vulnerability Description
A stored cross-site scripting (XSS) vulnerability was identified in GitHub Enterprise Server that allowed an authenticated attacker to inject arbitrary HTML attributes into rendered Markdown because the Markdown rendering pipeline rewrote quote characters in already-sanitized HTML without re-sanitizing the result. Crafted Markdown could abuse same-origin JavaScript gadgets to bypass Content Security Policy and gain control of the page DOM when viewed by another user. Successful exploitation could allow an attacker to read content visible to the victim, extract embedded CSRF tokens, perform state-changing actions as the victim, and exfiltrate data through same-origin writes. The payload could also propagate to repositories and organizations where the victim had write access. This vulnerability affected supported GitHub Enterprise Server releases in the 3.17, 3.18, 3.19, 3.20, 3.21, and 3.22 series and was fixed in versions 3.22.1, 3.21.6, 3.20.8, 3.19.12, 3.18.15, and 3.17.21. This vulnerability was reported via the GitHub Bug Bounty program.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N/AU:Y
来源: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
GitHub Enterprise Server 3.17.0 ~ 3.17.* -

二、漏洞 CVE-2026-77912 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-77912 的情报信息

请登录查看更多情报信息。

同批安全公告 · GitHub · 2026-09-22 · 共 3 条

CVE-2026-77987 9.3 CRITICAL GitHub Enterprise Server 笔记本查看器 SSRF 漏洞
CVE-2026-75101 6.0 MEDIUM GitHub Enterprise Server 授权绕过致私有拉取差异泄露

IV. Related Vulnerabilities