{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-111766","id":"CVE-2026-111766","title":"markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled","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 th","descriptionLong":"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.","published":"2026-10-19T19:47:46.488Z","updated":"2026-11-11T10:47:23.452168834Z","reserved":"2026-10-16T17:52:09.082Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"github.com"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"OSV"},{"version":"3.1","score":3.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"low","source":"GitHub"}],"rating":"low","products":["markdown-it"],"affectedProducts":[{"vendor":"markdown-it","product":"markdown-it","defaultStatus":null,"versions":[{"version":">= 15.0.0, < 15.0.3","status":"affected"},{"version":"< 14.3.3","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"markdown-it","purl":"pkg:npm/markdown-it","ranges":["<14.3.3",">=15.0.0 <15.0.3"],"fixed":["14.3.3","15.0.3"],"advisory":"GHSA-vfgh-jcmw-g37q"}],"cwes":["CWE-400","CWE-407"],"aliases":["GHSA-vfgh-jcmw-g37q"],"references":[{"url":"https://github.com/markdown-it/markdown-it/security/advisories/GHSA-vfgh-jcmw-g37q","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/markdown-it/markdown-it/commit/928bc8c11ded60181c0e7fc5aa954eec582e8e79","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/markdown-it/markdown-it/commit/d99f48839d37af6fd8a2617516c43dab90755503","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/14.3.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/markdown-it/markdown-it/releases/tag/15.0.3","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/111xxx/CVE-2026-111766.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111766","tags":["advisory"]},{"url":"https://github.com/markdown-it/markdown-it","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00428,"epssPercentile":0.37903,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-111766","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-111766","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-111766","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-vfgh-jcmw-g37q","ok":true,"note":"GHSA-vfgh-jcmw-g37q"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-111766","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}