markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
13.0.2 is the newest release of 13.x.
In short
2 new2 fixed2 changed
Security
5 advisories affect 13.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
Added
Added a new token type
text_specialto store escaped characters, same astextbut
unaffected by replacement plugins (smartquotes, typographer, linkifier, etc.).Added a new rule
text_joinincoreruler. Text replacement plugins may choose to
insert themselves before it.
Changed
(p)is no longer replaced with § by typographer (conflicts with ℗), #763.text_collapserule is renamed tofragments_join.
Fixed
Smartquotes, typographic replacements and plain text links can now be escaped
with backslash (e.g.\(c)orgoogle\.comare no longer replaced).Fixed collision of emphasis and linkifier (so
http://example.org/foo._bar_-_baz
is now a single link, not emphasized). Emails and fuzzy links are not affected by this.
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.