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

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-86431— CommonMark < 2.9.1 跨站脚本漏洞

一分钟漏洞结论

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

的 版本中,版本号在 2.7.0 及以上且低于 2.9.1 的版本存在一个跨站脚本(XSS)漏洞,该漏洞位于 中。 在属性名称前添加单个 U+000C 换页符(Form Feed)字节(例如: 形式),可以绕过 中对 事件处理器的过滤机制。原因是 PHP 的 函数默认不会去除 U+000C 字符,导致该属性被原样写入输出 HTML,浏览器会将其解析为有效的事件处理程序。 此外,这种前缀还能绕过 检查,即使设置了 为 ,也能使 或 属性中的 URI 通过过滤。 利用条件:需要处理不可信的 Markdown 内容,且必

CVSS 7.2 · High

影响版本矩阵 2

厂商产品 版本范围状态
thephpleague commonmark 2.7.0< 2.9.1 affected
2.9.1 unaffected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
commonmark before 2.9.1 XSS via AttributesExtension form feed bypass
来源: CVE Program / CVE List V5
Vulnerability Description
league/commonmark (thephpleague/commonmark) versions >= 2.7.0 and < 2.9.1 contain a cross-site scripting vulnerability in the AttributesExtension. Prefixing an attribute name with a single U+000C form feed byte (e.g. {\x0Conclick="alert(1)"}) bypasses the AttributesHelper::filterAttributes() 'on*' event-handler filter because PHP's trim() does not strip U+000C, causing the attribute to be written verbatim into the output where browsers parse it as a genuine event handler. The same prefix also defeats the allow_unsafe_links check, allowing javascript: URIs through href/src attributes even when allow_unsafe_links is false. Exploitation requires processing untrusted Markdown with the AttributesExtension enabled; the injected script executes when the rendered HTML is viewed. Fixed in 2.9.1.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
来源: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: CVE Program / CVE List V5

受影响产品

厂商 产品 影响版本 CPE 订阅
thephpleague commonmark 2.7.0 ~ 2.9.1 -

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

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

未找到公开 POC。

登录以生成 AI POC

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

登录查看更多情报信息。

CVE-2026-86431 补丁与修复 (1)

CVE-2026-86431 厂商安全公告 (2)

同批安全公告 · thephpleague · 2026-09-07 · 共 8 条

CVE-2026-86430 7.5 HIGH league/commonmark 2.9.1 解析导致的拒绝服务漏洞
CVE-2026-86429 7.5 HIGH CommonMark 2.9.1 之前 拒绝服务漏洞
CVE-2026-86435 7.5 HIGH commonmark 1.5.0 到 2.8.4 拒绝服务漏洞
CVE-2026-86434 7.5 HIGH CommonMark 2.0.0-2.8.3 拒绝服务漏洞
CVE-2026-86433 7.5 HIGH CommonMark 1.5.0 至 2.8.3 拒绝服务漏洞
CVE-2026-86428 7.5 HIGH CommonMark 1.5.0 至 2.10.0 属性拒绝服务漏洞
CVE-2026-86432 5.3 MEDIUM CommonMark 2.8.3 拒绝服务漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-86431

暂无评论


发表评论