markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 12.0.4 to 14.3.3
18 releases in betweennotes for 15
Reading releases, release notes and advisories…
Counted from 15 of 18 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking12.3.0
Security
Fixes 5 advisories affecting 12.0.4
- 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: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsmoderate · GHSA-6v5v-wf23-fmfq
- Uncontrolled Resource Consumption in markdown-itmoderate · GHSA-6vfc-qv3f-vr6c
- 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
- 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.
- 12.3.2
Fix possible ReDOS in newline rule. Thanks to @MakeNowJust.
Release by release
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
- Fixed
Fixed quadratic complexity when parsing references, #996.
- Fixed
Fixed quadratic output size with pathological user input in tables, #1000.
- Fixed
- Fixed
Html tokens inside img alt are now rendered as their original text, #896.
- Fixed
Hardbreaks inside img alt are now rendered as newlines.
- Fixed
- Security
Fixed crash/infinite loop caused by linkify inline rule, #957.
- Fixed
Throw an error if 3rd party plugin doesn't increment
lineorposcounters (previously, markdown-it would likely go into infinite loop instead), #847.
- Security
- Fixed
Bumped
linkify-itto 4.0.1. That should fix some hangs, caused by wrong data, returned fromlinkify-it.
- Fixed
10 other lines we could not sort, mostly version bumps
- 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. - 14.0.0
Dropped
dist/folder from repo, build on package publish. - 14.0.0
Set
punicode.jsas external dependency. - 13.0.0
(p)is no longer replaced with § by typographer (conflicts with ℗), #763. - 13.0.0
text_collapserule is renamed tofragments_join. - 12.1.0
Updated CM spec compatibility to 0.30.
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.