markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
14.3.3 is the newest release of 14.x.
In short
2 security1 new5 fixed
Security
Fixes 1 advisory that affected 14.1.1
- Moderatemarkdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsGHSA-6v5v-wf23-fmfq · 15 Jun 2026Fixed in 14.2.0
4 advisories affect 14.2.0; 14.3.3 fixes them
- Highmarkdown-it: Quadratic-time rendering of a single multi-line link reference definition with default options (regression since 14.0)GHSA-gfr2-rv44-r23c · 20 Oct 2026Fixed in 14.3.3
- Highmarkdown-it: Quadratic complexity in smartquotes with unmatched closing quotesGHSA-r7fv-28h4-cvq7 · 20 Oct 2026Fixed in 14.3.2
- Moderatemarkdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of secondsGHSA-253c-mchw-3w2r · 29 Sep 2026Fixed in 14.3.1
- Lowmarkdown-it: Quadratic-time denial of service in inline HTML parsing with html enabledGHSA-vfgh-jcmw-g37q · 20 Oct 2026Fixed in 14.3.3
Release note
Added
isPunctCharCodeto utilities.
Fixed
Don't end HTML comment blocks on a blank line, #1155.
Properly recognize astral chars (surrogates) in delimiter scans for
emphasis-like markers, #1072. Big thanks to @tats-u for his global efforts
with improving CJK support.Preserve unicode whitespaces when trimm headings/paragraphs, #1074.
More strict entities decode to avoid false positives
;, #1096.Restore block parser state on fail in
lheadingrule, #1131.
Security
- Security
Fixed poor smartquotes perfomance on > 70k quotes in single block
- Security
Bumped linkify-it to 5.0.1 with fixed potential perfomance issues.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.