@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxtjs/mdc From 0.2.9 to 0.3.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.3.0
- Breaking0.3.0
Security
3 advisories still affect 0.3.0
- Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filteringhigh · GHSA-cj6r-rrr9-fg82
- Parsed HTML anchor links in Markdown provided to parseMarkdown can result in XSS in @nuxtjs/mdccritical · GHSA-j82m-pc2v-2484
- @nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configurationhigh · GHSA-mxm6-v9r6-r94c
Upgrading to 0.22.1 clears them.
Release by release
- Breaking
shiki: Remove deprecated transforms
- Breaking
Note: Slightly internal breaking change: class props now are array of strings
- New
Syntax highlighter support notations
- Breaking
4 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.