markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 12.0.0 to 12.3.2
11 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking12.3.0
Security
4 advisories still affect 12.3.2
- 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
- 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
Upgrading to 14.3.3 clears them.
Fixes 1 advisory affecting 12.0.0
- Uncontrolled Resource Consumption in markdown-itmoderate · GHSA-6vfc-qv3f-vr6c
- 12.3.2
Fix possible ReDOS in newline rule. Thanks to @MakeNowJust.
Release by release
- Security
Fix possible ReDOS in newline rule. Thanks to @MakeNowJust.
- Security
- Fixed
Fix corner case when tab prevents paragraph continuation in lists, #830.
- Fixed
- Breaking
StateInline.delimiters.jumpis removed. - Fixed
Fixed quadratic complexity in pathological
***<10k stars>***a***<10k stars>***case.
- Breaking
- New
Ordered lists: add order value to token info.
- Fixed
Always suffix indented code block with a newline, #799.
- New
12.1.0nothing new or fixed in the note
- Fixed
Newline in
altshould be rendered, #775.
- Fixed
- Fixed
HTML block tags with
===inside are no longer incorrectly interpreted as headers, #772. - Fixed
Fix table/list parsing ambiguity, #767.
- Fixed
- Fixed
Fix crash introduced in
12.0.3when processing strikethrough (~~) and similar plugins, #742. - Fixed
Avoid fenced token mutation, #745.
- Fixed
1 other line we could not sort, mostly version bumps
- 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.