{"answers":{"affected":"4 open source packages ship an affected version, including markdown-it.","exploited":"There is no known exploitation of CVE-2026-111766 in the wild and no public exploit code.","fix":"Upgrade markdown-it to a fixed version for your release line: 14.3.3 or 15.0.3.","what":"CVE-2026-111766 is a low-severity denial of service vulnerability in markdown-it, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-111766 and fix it if it is affected.\n\nWhat it is: CVE-2026-111766 is a low-severity denial of service vulnerability in markdown-it, published on 19 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-111766 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- markdown-it (npm): affected all versions; fixed in 14.3.3\n- markdown-it (npm): affected all versions; fixed in 14.3.3\n- markdown-it (npm): affected from 15.0.0; fixed in 15.0.3\n- markdown-it (npm): affected from 15.0.0; fixed in 15.0.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-111766/ (Markdown: https://insights.sbomify.com/CVE-2026-111766/index.md)","id":"CVE-2026-111766","markdown":"https://insights.sbomify.com/CVE-2026-111766/index.md","name":"CVE-2026-111766","record":{"aliases":["CLSA-2026-1793097495","CLSA-2026-1793097603","CLSA-2026-1793099982","CLSA-2026-1793100014","CLSA-2026-1793125795","DEBIAN-CVE-2026-111766","ECHO-9559-b172-500b","GHSA-vfgh-jcmw-g37q","UBUNTU-CVE-2026-111766"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Markdown parsing library","requires_auth":"none","summary":"Attackers can cause denial of service via quadratic-time processing in markdown-it when HTML parsing is enabled, blocking the event loop or browser thread.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.7,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabled","id":"CVE-2026-111766","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2026"},"n_packages":4,"n_references":5,"next":{"headline":"MCP TypeScript SDK: Experimental tasks were not tied to the session that created them","id":"CVE-2026-111767"},"packages":[{"ecosystem":"npm","fixed":["14.3.3"],"introduced":["0"],"last_affected":[],"package":"markdown-it","purl":null,"source":"GHSA-vfgh-jcmw-g37q"},{"ecosystem":"npm","fixed":["14.3.3"],"introduced":["0"],"last_affected":[],"package":"markdown-it","purl":"pkg:npm/markdown-it","source":"GHSA-vfgh-jcmw-g37q"},{"ecosystem":"npm","fixed":["15.0.3"],"introduced":["15.0.0"],"last_affected":[],"package":"markdown-it","purl":null,"source":"GHSA-vfgh-jcmw-g37q"},{"ecosystem":"npm","fixed":["15.0.3"],"introduced":["15.0.0"],"last_affected":[],"package":"markdown-it","purl":"pkg:npm/markdown-it","source":"GHSA-vfgh-jcmw-g37q"}],"prev":{"headline":"A2A Java SDK: Android synchronous POST forwards credentials across authorities after incomplete redirect fix","id":"CVE-2026-111765"},"products":["markdown-it"],"published":"2026-10-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-26","vendors":["markdown-it"]},"summary":"Attackers can cause denial of service via quadratic-time processing in markdown-it when HTML parsing is enabled, blocking the event loop or browser thread.","url":"https://insights.sbomify.com/CVE-2026-111766/"}