@nuxtjs/mdc
0.23.4 · 17 Nov 2026MIT346k / weekRepositoryHomepagenpmAtom feed
Upgrading @nuxtjs/mdc From 0.3.1 to 0.22.1
52 releases in betweenevery note read
Reading releases, release notes and advisories…
Before you upgrade
Tick each one off as you go- Breaking0.4.0
- Deprecated0.18.4
Security
Fixes 3 advisories affecting 0.3.1
- 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
- 0.17.3
security: fix XSS vulnerabilities
- 0.17.2
This patch release contains a fix for Security Advisory github.com/nuxt-modules/mdc/security/advisories…, Special thanks to @Vozec for the report.
- 0.13.3
security: additional xss security guards for anchor elements
Release by release
- Fixed
Validate xlink:href and fix data:text/html prefix check in sanitizer
- Fixed
0.21.1 – 0.22.02 releases, nothing new or fixed in the notes
- Fixed
Don't memoise configs, and allow external modules to call
mdc:configSources - Fixed
Normalize lang
- Fixed
cache: Fix issue where value watch could get out of sync
- Fixed
- Fixed
security: prevent script tag from rendering (
scripTorsCrIpT)
- Fixed
- Fixed
Types
- Fixed
parser: Remove duplicate props
:name~name
- Fixed
- New
Introduce
mdc.componenets.customElements - Fixed
Call
mdc:configSourcesafter all modules have run
- New
- Fixed
Missing
shiki/engine/*from build bundle - Fixed
Check highlight result not empty #451
- Fixed
0.19.1nothing new or fixed in the note
1 other line we could not sort, mostly version bumps
- 0.17.2
Merge commit from fork
100 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.