@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxtjs/mdc From 0.5.0 to 0.6.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
3 advisories still affect 0.6.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
- New
comments: Possibility to keep comments in MDC tree with
keepCommentsoption - New
Remove '#imports` from MDC Renderer
- New
Use mdcrenderer component and parsemarkdown util outside nuxt
- Fixed
Strip non-word-chars from library import name
- Fixed
Prepend import names with underscore
- Fixed
build: Do not export component in runtime index
- New
2 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.