CVE-2025-54075: nuxt-modules mdc Cross-site Scripting
Vulnerability summary
CVE-2025-54075 is a high (CVSS 8.3) Cross-site Scripting vulnerability in nuxt-modules mdc. EPSS estimates a 0.34% chance of exploitation in the next 30 days, higher than 26.6% of scored vulnerabilities.
Timeline
- 18-07-2025PublishedVulnerability first disclosed.
- 22-07-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated8.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- NVDNIST8.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS trend
Probability
0.34%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
+0.04 pp
From 0.30% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
@nuxtjs1 product
- mdc< 0.17.2
Nuxt-modules1 product
- mdc< 0.17.2
2 vendors · 2 products
References
4 links- github.com/nuxt-modules/mdcPACKAGE