Intel

AIKIDO-2026-479314

html-to-markdown-rs is vulnerable to Uncontrolled Resource Consumption

Uncontrolled Resource Consumption Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published 5 days ago

55

Medium Risk

This Affects:

RUSThtml-to-markdown-rs
3.4.1 - 3.6.10
Fixed in 3.6.11
Are you affected? Scan for Free

TL;DR

html-to-markdown-rs converts HTML to Markdown using a table column-width pre-pass that renders each cell to measure its width. When the input contains deeply nested layout tables, this pre-pass recursively re-renders every nested table for every ancestor cell, so the work grows combinatorially with nesting depth. An attacker who supplies crafted HTML, such as a table-heavy email or scraped web page, can make a single conversion consume minutes of CPU and effectively hang the process, causing denial of service. The fix threads a measurement-only flag through the conversion context so nested tables fall back to descendant text during measurement, keeping the pre-pass linear in input size.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

html-to-markdown-rs is vulnerable to Uncontrolled Resource Consumption in versions 3.4.1 - 3.6.10.

How to fix this

Upgrade the html-to-markdown-rs library to the patch version.