Description
A remote script-inclusion / stored XSS vulnerability in @nuxtjs/mdc lets a Markdown author inject a <base href="https://attacker.tld"> element.
Recommendation
Update the @nuxtjs/mdc package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.17.2
- Patched version(s): 0.17.2
References
Could your website be exposed too?
SmartScanner can check your website for Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filtering and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Parsed HTML anchor links in Markdown provided to parseMarkdown can result in XSS in @nuxtjs/mdc - CVE-2025-24981
- Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization - CVE-2026-65841
- @nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the defaul - CVE-2026-63671
- XSS/HTML Injection Vulnerability in Umbraco Backoffice Components - CVE-2025-24012
You might also like:
See something that needs correcting? Let us knowUpdated July 20, 2025


