markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 13.0.0 to 15.0.3
14 releases in betweennotes for 11
Reading releases, release notes and advisories…
Counted from 11 of 14 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
- Breaking15.0.0
Security
Fixes 5 advisories affecting 13.0.0
- markdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of secondsmoderate · GHSA-253c-mchw-3w2r
- markdown-it is has a Regular Expression Denial of Service (ReDoS)moderate · GHSA-38c4-r59v-3vqw
- markdown-it: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsmoderate · GHSA-6v5v-wf23-fmfq
- markdown-it: Quadratic complexity in smartquotes with unmatched closing quoteshigh · GHSA-r7fv-28h4-cvq7
- markdown-it: Quadratic-time denial of service in inline HTML parsing with html enabledlow · GHSA-vfgh-jcmw-g37q
- 15.0.3
Fixed quadratic complexity when parsing multiline reference definitions.
- 15.0.3
Fixed quadratic complexity when parsing unclosed inline HTML comments, processing instructions, declarations and CDATA sections.
- 15.0.2
Fixed quadratic complexity in smartquotes when quote types don't match, #1209. Also limited the smartquotes stack to 1000 unmatched openers.
- 15.0.1
Fixed quadratic complexity when replacing fuzzy links.
- 15.0.1
Fixed quadratic complexity in scheme backscan (inline linkify rule).
- 14.2.0
Fixed poor smartquotes perfomance on > 70k quotes in single block
- 14.2.0
Bumped linkify-it to 5.0.1 with fixed potential perfomance issues.
- 14.1.1
Fixed regression from v13 in linkify inline rule. Specific patterns could cause high CPU use. Thanks to @ltduc147 for report.
- 13.0.2
Fixed crash/infinite loop caused by linkify inline rule, #957.
Release by release
- Security
Fixed quadratic complexity when parsing multiline reference definitions.
- Security
Fixed quadratic complexity when parsing unclosed inline HTML comments, processing instructions, declarations and CDATA sections.
- Fixed
Enforce the 999 Unicode code point limit for reference definition labels, partially addressing #1213.
- Fixed
Require whitespace before multiline reference titles.
- Security
- Security
Fixed quadratic complexity in smartquotes when quote types don't match, #1209. Also limited the smartquotes stack to 1000 unmatched openers.
- Security
- Security
Fixed quadratic complexity when replacing fuzzy links.
- Security
Fixed quadratic complexity in scheme backscan (inline linkify rule).
- Fixed
Fixed code span parsing after lookaheads for unclosed link and image labels, #1201.
- Fixed
Preserve spaces in code spans whose content consists only of spaces, #1180.
- Fixed
Preserve brackets around IPv6 address literals when normalizing links, #1204.
- Security
- Breaking
No fuzzy links by default.
- Breaking
No auth part check by default.
- Breaking
Unicode punctuation terminates the link by default (should help with CJK).
- Breaking
Removed package-internal subpath exports (
markdown-it/lib/*and similar). Use the static classes exposed onmarkdownitinstead.
- Breaking
14.3.1 – 14.3.33 releases, no release note
- New
Added source maps.
- Fixed
Preserve backslash-space hard line breaks, matching CommonMark 6.7, #1185.
- New
- Security
Fixed poor smartquotes perfomance on > 70k quotes in single block
- Security
Bumped linkify-it to 5.0.1 with fixed potential perfomance issues.
- New
isPunctCharCodeto utilities. - Fixed
Don't end HTML comment blocks on a blank line, #1155.
- Security
- Security
Fixed regression from v13 in linkify inline rule. Specific patterns could cause high CPU use. Thanks to @ltduc147 for report.
- Security
12 other lines we could not sort, mostly version bumps
- 15.0.0
Package root now resolves to prebuilt ESM and CJS files instead of raw sources. Distribution files were reorganized under
dist/anddist/browser/. - 15.0.0
Migrated to Typescript.
- 15.0.0
entities=> v8. Can be rolled back to v7 if compatibility issues happen. - 15.0.0
Moved
validateLink,normalizeLinkandnormalizeLinkTextfrom properties to prototype methods. - 15.0.0
Reworked issue templates and contribution guidelines.
- 14.3.0
Reworked build pipeline & tools.
- 14.3.0
Bumped
linkify-itto 5.0.2. - 14.1.0
Updated CM spec compatibility to 0.31.2, #1009.
- 14.0.0
Drop ancient browsers support (use
.fromCodePointand other features). - 14.0.0
Rewrite to ESM (including all plugins/deps). CJS fallback still available. No signatures changed, except
markdown-it-emojiplugin.
3 internal lines (docs, tests, tooling) left out.
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.