@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxtjs/mdc From 0.2.2 to 0.2.3
1 release in betweenevery note read
Reading releases, release notes and advisories…
Security
3 advisories still affect 0.2.3
- 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
shiki: Remove
htmlfrom.shikicss selector - New
Add line break to end of each code block line
- Fixed
MDCRenderer: Check for
__ssrInlineRenderto detect component - Fixed
MDCRenderer: Rerender components when new components adds to content
- Fixed
highlighter: Allow multiple themes inside a page
- Fixed
Improve highlighter styles
- New
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.