XSS in Nuxt-Modules Mdc
CVE-2025-54075
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)
EPSS: 0.003 (22.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Nuxt-modules Mdc — versions < 0.17.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-54075?
- CVE-2025-54075 is a high-severity vulnerability in Nuxt-Modules Mdc, classified under Cross-site Scripting. CVSS score: 8.3/10. Published 2025-07-18.
- How severe is CVE-2025-54075?
- High severity. CVSS v3 base score is 8.3 out of 10.
- Is CVE-2025-54075 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.