markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 4.4.0 to 5.0.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- ?
- changes to make
- 0
- advisories fixed
- 0
- new
- 2
- fixes
Start here
Security
5 advisories still affect 5.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: Quadratic complexity DoS in smartquotes rule via replaceAt string operationsmoderate · GHSA-6v5v-wf23-fmfq
- Uncontrolled Resource Consumption in markdown-itmoderate · GHSA-6vfc-qv3f-vr6c
Upgrading to 14.3.3 clears them.
Release by release
- Fixed
Don't wrap iframes with paragraphs.
- Fixed
Fix closure compiler collisions (don't use reserved words), #159.
- Fixed
4 other lines we could not sort, mostly version bumps
- 5.0.0
Internal API change. Due to new CM spec requirements, we had to update internals. That should not touch ordinary users, but can affect some external plugins. If you are plugin developper - see migration guide: github.com/markdown-it/markdown-it/blob/master/….
- 5.0.0
Updated CM spec compatibility to 0.22 (see list below).
- 5.0.0
Keep tabs (don't replace with spaces).
- 5.0.0
Rewritten emphasis algorithm.
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.