CVE-2025-54075 · GitHub_M
mdc vulnerable to XSS in markdown rendering bypassing HTML filter. (N°4)
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 ` ` element. The ` ` 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 2025-07-18, last changed 2026-06-17. Weakness: CWE-79.
How to fix
Upgrade to a fixed version: @nuxtjs/mdc 0.17.2 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in nuxt-modules/mdc by 3657a5bf23, a69242835d, 3657a5bf23. Functions changed by the fix: _renderNode. Confidence: verified (a record names this commit as the fix, and it changed these functions).
Timeline
| 2025-07-18 | Published |
| 2025-07-20 | Package advisory GHSA-cj6r-rrr9-fg82 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.52% |
| 2026-12-06 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-cj6r-rrr9-fg82 | @nuxtjs/mdc (npm) | 0.17.2 |
Also known as: GHSA-cj6r-rrr9-fg82
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2026-63671 | 2026-09-16 | 8.1 | @nuxtjs/mdc: the URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configuration |
| CVE-2025-24981 | 2025-02-06 | 9.3 | Parsed HTML anchor links in Markdown provided to parseMarkdown can result in XSS in @nuxtjs/mdc |
| CVE-2026-77529 | 2026-12-04 | 4.8 | FacturaScripts: Stored XSS via EmailSentHtml client-side regex sanitizer that admins can bypass to attack other admins |
| CVE-2026-45710 | 2026-12-04 | 3.5 | FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=` |
| CVE-2026-144408 | 2026-12-03 | 7.2 | Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values |
| CVE-2026-144407 | 2026-12-03 | 7.2 | Vue I18n: sanitizeTranslatedHtml allows DOM XSS via javascript: URLs after an unquoted attribute value that contains a quote |
| CVE-2026-144406 | 2026-12-03 | 5.4 | vue-i18n escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed |
| CVE-2026-144292 | 2026-12-03 | 7.6 | DOMPurify SAFE_FOR_TEMPLATES bypass: nested makes a template expression reassemble when sanitized output is reparsed |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2025-54075, or call /api/v1/vulnerabilities/CVE-2025-54075. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.