markdown-it 是一个 Markdown 解析器。在 14.1.0 至 14.3.3(不含)以及 15.0.0 至 15.0.3(不含)的版本中,若链接引用定义的标签(label)或标题(title)未正确闭合,在默认配置下会导致 O(n²) 的时间复杂度。在 文件中,续行内容通过 的方式惰性拉取;随后调用的 和 操作会强制将 V8 的 cons-string 扁平化,从而复制截至目前收集的所有内容;而这一操作发生在解析器判定该定义无效之前。触发此问题无需任何特殊配置选项。该漏洞已在 14.3.3 和 15
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| markdown-it | markdown-it | >= 14.1.0, < 14.3.3 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet