Markdown It
Monthly
Denial of service in the markdown-it Markdown parser (npm package markdown-it) affects versions 14.1.0 through 14.3.2 and 15.0.0 through 15.0.2, where a single link reference definition whose label or title is never closed causes quadratic-time parsing under default options. Unauthenticated remote attackers who can get attacker-controlled Markdown processed by the library can burn CPU proportional to the square of the input size - roughly 3.6 seconds at 200 KB, 18 seconds at 400 KB, and 74 seconds at 800 KB - with impact confined to availability (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5). Proof-of-concept code is published in the upstream advisory, and no active exploitation has been reported (not listed in CISA KEV); the vendor has released fixed versions 14.3.3 and 15.0.3.
Algorithmic complexity (quadratic-time) denial of service in markdown-it's smartquotes typographic rule affects releases prior to 14.3.2 and 15.0.2 when the parser is configured with typographer: true. Unauthenticated remote attackers who can submit Markdown for rendering - for example in comment fields, chat messages, or wiki pages - can supply a document containing many opening double quotes followed by unmatched closing single quotes (or the same pattern with quote types reversed), forcing the smartquotes matching loop to rescan the entire opener stack on every quote and driving CPU consumption up quadratically with input size. The default typographer: false configuration is unaffected, and the impact is limited to availability (CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5); no public exploit code was identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV), though the advisory notes the vulnerable option is enabled with high probability in real deployments.
Denial of service in linkify-it before 5.0.2 allows remote attackers to exhaust CPU by submitting crafted text containing many mailto: occurrences, each triggering the src_email_name email-name validator in lib/re.mjs to rescan the remaining input, yielding O(n^2) complexity. Any application that runs untrusted user text through linkify-it's .test() or .match() is affected; there is no public exploit identified at time of analysis and the flaw is not in CISA KEV, but the low complexity of the trigger makes availability disruption straightforward.
Quadratic processing in markdown-it (prior to 14.3.3 and 15.0.3) allows attacker-controlled Markdown to block the event loop or freeze a browser main thread when HTML parsing is enabled. Only deployments instantiated with the non-default 'html' option or the 'commonmark' preset are exposed; the shipped default disables inline HTML, and HTML blocks are unaffected - the payloads must sit inside a paragraph. Both a public advisory and upstream commits/patched releases exist, but no public exploit code and no confirmed active exploitation were identified at time of analysis, and EPSS data was not supplied; this is a low-priority defect whose severity is capped by the required non-default configuration.
Markdown-It versions up to 14.1.1 is affected by inefficient regular expression complexity (redos) (CVSS 5.3).
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in markdown-it allows Cross-Site Scripting (XSS). Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
markdown-it before 4.1.0 does not block data: URLs. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.
Denial of service in the markdown-it Markdown parser (npm package markdown-it) affects versions 14.1.0 through 14.3.2 and 15.0.0 through 15.0.2, where a single link reference definition whose label or title is never closed causes quadratic-time parsing under default options. Unauthenticated remote attackers who can get attacker-controlled Markdown processed by the library can burn CPU proportional to the square of the input size - roughly 3.6 seconds at 200 KB, 18 seconds at 400 KB, and 74 seconds at 800 KB - with impact confined to availability (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5). Proof-of-concept code is published in the upstream advisory, and no active exploitation has been reported (not listed in CISA KEV); the vendor has released fixed versions 14.3.3 and 15.0.3.
Algorithmic complexity (quadratic-time) denial of service in markdown-it's smartquotes typographic rule affects releases prior to 14.3.2 and 15.0.2 when the parser is configured with typographer: true. Unauthenticated remote attackers who can submit Markdown for rendering - for example in comment fields, chat messages, or wiki pages - can supply a document containing many opening double quotes followed by unmatched closing single quotes (or the same pattern with quote types reversed), forcing the smartquotes matching loop to rescan the entire opener stack on every quote and driving CPU consumption up quadratically with input size. The default typographer: false configuration is unaffected, and the impact is limited to availability (CVSS 3.1: AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, 7.5); no public exploit code was identified at time of analysis and the issue is not confirmed actively exploited (CISA KEV), though the advisory notes the vulnerable option is enabled with high probability in real deployments.
Denial of service in linkify-it before 5.0.2 allows remote attackers to exhaust CPU by submitting crafted text containing many mailto: occurrences, each triggering the src_email_name email-name validator in lib/re.mjs to rescan the remaining input, yielding O(n^2) complexity. Any application that runs untrusted user text through linkify-it's .test() or .match() is affected; there is no public exploit identified at time of analysis and the flaw is not in CISA KEV, but the low complexity of the trigger makes availability disruption straightforward.
Quadratic processing in markdown-it (prior to 14.3.3 and 15.0.3) allows attacker-controlled Markdown to block the event loop or freeze a browser main thread when HTML parsing is enabled. Only deployments instantiated with the non-default 'html' option or the 'commonmark' preset are exposed; the shipped default disables inline HTML, and HTML blocks are unaffected - the payloads must sit inside a paragraph. Both a public advisory and upstream commits/patched releases exist, but no public exploit code and no confirmed active exploitation were identified at time of analysis, and EPSS data was not supplied; this is a low-priority defect whose severity is capped by the required non-default configuration.
Markdown-It versions up to 14.1.1 is affected by inefficient regular expression complexity (redos) (CVSS 5.3).
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in markdown-it allows Cross-Site Scripting (XSS). Rated medium severity (CVSS 6.9), this vulnerability is remotely exploitable, no authentication required, low attack complexity. Public exploit code available and no vendor patch available.
markdown-it before 4.1.0 does not block data: URLs. Rated medium severity (CVSS 5.3), this vulnerability is remotely exploitable, no authentication required, low attack complexity.