@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
0.23.4 is the newest release of 0.4.x.
In short
1 breaking2 fixed
- Breaking
⚠️
mdc.config.jssupport, improve shiki bundle
Security
3 advisories affect 0.4.0; 0.22.1 fixes them
- CriticalParsed HTML anchor links in Markdown provided to parseMarkdown can result in XSS in @nuxtjs/mdcGHSA-j82m-pc2v-2484 · 6 Feb 2025Fixed in 0.13.3
- High@nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configurationGHSA-mxm6-v9r6-r94c · 16 Sep 2026Fixed in 0.22.1
- HighNuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filteringGHSA-cj6r-rrr9-fg82 · 20 Jul 2025Fixed in 0.17.2
Release note
Enhancements
- Breaking
⚠️
mdc.config.jssupport, improve shiki bundle
Fixes
Improve optimizeDeps handling
code-block: Convert string to
numberbefore rehypeShiki
Breaking Changes
- Breaking
⚠️
mdc.config.jssupport, improve shiki bundleModule does not export
useShikiHighlighterin@nuxtjs/mdc/runtimeanymore. Shiki highlighter could be imported usingimport { createShikiHighlighter } from '@nuxtjs/mdc/runtime/highlighter/shiki'Module does not expose
mdc.highlightin runtime config
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.