markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
14.3.3 is the newest release of 14.x.
In short
2 fixed4 changed
Security
5 advisories affect 14.0.0; 14.3.3 fixes them
- 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
- Moderatemarkdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsGHSA-6v5v-wf23-fmfq · 15 Jun 2026Fixed in 14.2.0
- Moderatemarkdown-it is has a Regular Expression Denial of Service (ReDoS)GHSA-38c4-r59v-3vqw · 12 Feb 2026Fixed in 14.1.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
Changed
Drop ancient browsers support (use
.fromCodePointand other features).Rewrite to ESM (including all plugins/deps). CJS fallback still available.
No signatures changed, exceptmarkdown-it-emojiplugin.Dropped
dist/folder from repo, build on package publish.Set
punicode.jsas external dependency.
Fixed
Html tokens inside img alt are now rendered as their original text, #896.
Hardbreaks inside img alt are now rendered as newlines.
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.