CVE-2025-54075
HIGH 8.3CVSS 3.1Nuxt MDC has an XSS vulnerability in markdown rendering that bypasses HTML filtering
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.
- Published
- 18 Jul 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-cj6r-rrr9-fg82
- Sources
- NVDJSONOSV GHSA-cj6r-rrr9-fg82JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @nuxtjs/mdc | < 0.17.2 | 0.17.2 |
References
- https://github.com/nuxt-modules/mdc/commit/3657a5bf2326a73cd3d906f57149146a412b962a · WEB
- https://github.com/nuxt-modules/mdc/security/advisories/GHSA-cj6r-rrr9-fg82 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54075 · ADVISORY
- https://github.com/nuxt-modules/mdc · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 18 Jul 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2025)