THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-vfgh-jcmw-g37q (low) — markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled

[GHSA] GHSA-vfgh-jcmw-g37q (low) — markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled

medgithub_advisoriesPublished 2026-10-20

GHSA-vfgh-jcmw-g37q Severity: low CVE: CVE-2026-111766

markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled

### Summary

With `html: true`, markdown-it takes quadratic time to parse repeated unterminated HTML constructs inside a paragraph. This affects HTML comments (`<!--`), processing instructions (`<?`), declarations (`<!A`), and CDATA sections (`<![CDATA[`).

Indicators of compromise

Original source: https://github.com/advisories/GHSA-vfgh-jcmw-g37q