XSS in Nuxt-Modules Mdc
CVE-2025-54075
- CVSS v3
- 8.3 High
- Public exploits
- None known
- EPSS
- 0.003 · 28.4th percentile
- Published
- 2025-07-18
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 28.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Nuxt-Modules Mdc — versions < 0.17.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ICJIA/icjia-vpp-2025). These reference the CVE in a list, notes or a scanner and are not exploit code for it.