markdown-it
15.0.3 · 16 Oct 2026MIT41.9M / weekRepositoryHomepagenpmAtom feed
Upgrading markdown-it From 14.3.0 to 15.0.3
7 releases in betweennotes for 4
Reading releases, release notes and advisories…
Counted from 4 of 7 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 4 advisories affecting 14.3.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-time rendering of a single multi-line link reference definition with default options (regression since 14.0)high · GHSA-gfr2-rv44-r23c
- 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).
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
5 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.
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.