一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月8日

CVE-2026-86429 [HIGH] – The league/commonmark (thephpleague/commonmark) library in versions >= 1.5.0 and < 2.9.1 c

未分类
📑 文章目录

The league/commonmark (thephpleague/commonmark) library in versions >= 1.5.0 and < 2.9.1 contains quadratic parsing complexity in its SmartPunctExtension and AttributesExtension. When either extension is explicitly registered on the Environment (they are not enabled by default and are excluded from the standard CommonMark and GitHub-Flavored Markdown converters), an unauthenticated attacker can submit small, specially crafted Markdown documents — such as text alternating with unpaired quotes, contiguous runs of block-level attribute blocks, or repeated class attributes — to trigger disproportionate CPU consumption and cause a denial of service. Fixed in 2.9.1.