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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2026-10-19T19:47:46.488Z
- Modified: 2026-10-26T18:17:36.273Z
- Also known as: GHSA-vfgh-jcmw-g37q
- Weaknesses: CWE-400, CWE-407
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

markdown-it is a Markdown parser. Prior to 14.3.3 and 15.0.3, when the html option or commonmark preset is enabled and the constructs occur inside a paragraph, attacker-controlled Markdown containing repeated unterminated inline HTML comments, processing instructions, declarations, or CDATA sections reaches src/rules_inline/html_inline.ts. Its HTML_TAG_RE match searches the remaining suffix for the appropriate terminator; when no terminator is present, parsing advances to the next opener and repeats the match over overlapping input, causing quadratic processing and denial of service through event-loop blocking or an unresponsive browser main thread. HTML blocks and the default HTML-disabled configuration are not affected by these payloads. This issue is fixed in versions 14.3.3 and 15.0.3.

(As written by CVE List.)

## Affected

- markdown-it markdown-it: >= 15.0.0, < 15.0.3; < 14.3.3
- markdown-it (npm): before 14.3.3; from 15.0.0 before 15.0.3

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/markdown-it/markdown-it/security/advisories/GHSA-vfgh-jcmw-g37q> (web)
- <https://github.com/markdown-it/markdown-it/commit/928bc8c11ded60181c0e7fc5aa954eec582e8e79> (web)
- <https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503> (web)
- <https://github.com/markdown-it/markdown-it/releases/tag/14.3.3> (web)
- <https://github.com/markdown-it/markdown-it/releases/tag/15.0.3> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-111766> (advisory)
- <https://github.com/markdown-it/markdown-it> (package)

## Sources

- CVE List: [CVE-2026-111766](https://www.cve.org/CVERecord?id=CVE-2026-111766), CVE Terms of Use, modified 2026-10-26
- GitHub Advisory Database: [GHSA-vfgh-jcmw-g37q](https://github.com/advisories/GHSA-vfgh-jcmw-g37q), CC-BY-4.0, modified 2026-10-20
- NVD: [CVE-2026-111766](https://nvd.nist.gov/vuln/detail/CVE-2026-111766), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-111766 · Whole record: https://cve.day/CVE-2026-111766.json · Rebuilt by cve.day 2026-11-25T22:59:45.924Z
