KeygraphLabs · CVE MCP

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.

CVSS
8.3
high, from the CNA
EPSS
0.34%
percentile 29.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-18Published
2025-07-20Package advisory GHSA-cj6r-rrr9-fg82
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.52%
2026-12-06Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-cj6r-rrr9-fg82@nuxtjs/mdc (npm)0.17.2

Also known as: GHSA-cj6r-rrr9-fg82

Related

CVEPublishedCVSSSummary
CVE-2026-636712026-09-168.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-249812025-02-069.3Parsed HTML anchor links in Markdown provided to parseMarkdown can result in XSS in @nuxtjs/mdc
CVE-2026-775292026-12-044.8FacturaScripts: Stored XSS via EmailSentHtml client-side regex sanitizer that admins can bypass to attack other admins
CVE-2026-457102026-12-043.5FacturaScripts: Stored XSS in WidgetVariante and WidgetSubcuenta modal lists via HTML-attribute decoding of `Tools::noHtml`-escaped quotes inside `onclick=`
CVE-2026-1444082026-12-037.2Vue I18n: sanitizeTranslatedHtml bypass via unterminated attribute values
CVE-2026-1444072026-12-037.2Vue I18n: sanitizeTranslatedHtml allows DOM XSS via javascript: URLs after an unquoted attribute value that contains a quote
CVE-2026-1444062026-12-035.4vue-i18n escapeParameter sanitizer leaves elements open, so a translation can change how the rest of an SSR page is parsed
CVE-2026-1442922026-12-037.6DOMPurify 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.

NVD · CVE.org