markdown-it 是一个 Markdown 解析器。在版本 14.3.3 和 15.0.3 之前,当启用 选项或 预设,且相关结构出现在段落内部时,攻击者控制的 Markdown 内容若包含重复出现的未终止行内 HTML 注释、处理指令、声明或 CDATA 区段,会被传递到 。其中的 匹配会搜索剩余后缀以寻找对应的结束符;当不存在结束符时,解析过程会推进到下一个起始标签,并对重叠的输入重复执行匹配操作,从而导致二次方(O(n²))的时间复杂度,引发拒绝服务攻击,表现为事件循环阻塞或浏览器主线程无响应。HTML
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 | >= 15.0.0, < 15.0.3 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet