CVE-2026-63671 Details
Description
MDC is a tool to take regular Markdown and write documents interacting deeply with a Vue component. Prior to 0.22.1, @nuxtjs/mdc uses parseMarkdown with allowDangerousHtml enabled by default and relies on validateProps, validateProp, and unsafeLinkPrefix to remove executable URLs from untrusted Markdown. validateProp checks only attributes named href or src, allowing an SVG xlink:href value represented as xLinkHref to retain a javascript: URL that executes in the page origin when selected. The data:text/html denylist entries are also compared against url.protocol, which is only data:, so an iframe src containing data:text/html survives sanitization and executes in an opaque origin when loaded. Plain href javascript: URLs, srcdoc, object, script, and base elements are already blocked, making these two paths specific sibling gaps in the sanitizer. This issue is fixed in version 0.22.1.
A cross-site scripting (XSS) vulnerability has been identified in the @nuxtjs/mdc package, prior to version 0.22.1. The issue arises because the URL sanitizer used to block dangerous links in untrusted Markdown fails to properly handle SVG 'xlink:href' attributes and 'data:text/html' URLs. By exploiting these gaps, it is possible to execute JavaScript in the context of the page.
Users can update to @nuxtjs/mdc version 0.22.1 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 16, 2026CISA-ADP
Assessed Sep 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/nuxt-content/mdc/commit/61d636c2983f021288e4fc5c4006733b38cf0d53 | [email protected] | Source CodeVendor |
| https://github.com/nuxt-content/mdc/pull/491 | [email protected] | Source CodeVendor |
| https://github.com/nuxt-content/mdc/releases/tag/v0.22.1 | [email protected] | Release NotesVendor |
| https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-184 | Incomplete List of Disallowed Inputs | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @nuxtjs/mdc | < 0.22.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 18, 2026 | CVE Modified | CISA-ADP |
| Sep 16, 2026 | New CVE Received | [email protected] |
Volerion