Description
An unsafe parsing logic of the URL from markdown can lead to arbitrary JavaScript code due to a bypass to the existing guards around the javascript: protocol scheme in the URL.
Recommendation
Update the @nuxtjs/mdc package to the latest compatible version. Followings are version details:
- Affected version(s): <= 0.13.2
- Patched version(s): 0.13.3
References
Could your website be exposed too?
SmartScanner can check your website for Parsed HTML anchor links in Markdown provided to parseMarkdown can result in XSS in @nuxtjs/mdc and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filtering - CVE-2025-54075
- @nuxtjs/mdc's URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the defaul - CVE-2026-63671
- Quill is vulnerable to XSS via HTML export feature - CVE-2025-15056
- OpenList (frontend) allows XSS Attacks in the built-in Markdown Viewer - CVE-2025-50183


