CVE-2026-63671 json
@nuxtjs/mdc: the URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configuration
published 2026-09-16 54 d ago modified 2026-09-24 45 d ago also GHSA-mxm6-v9r6-r94c , EUVD-2026-80789
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @nuxtjs/mdc 0.22.1
- github.com/nuxt-content/mdc@61d636c commit
- github.com/nuxt-content/mdc#491 pull request
- github.com/nuxt-content/mdc/releases/tag/v0.22.1 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 52 d ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @nuxtjs/mdc | <0.22.1 |
0.22.1 |
Affected products
- nuxt-content mdc
Classification
References
-
github.com
/nuxt-content/mdc/pull/491
web
-
github.com
/nuxt-content/mdc/commit/61d636c2983f021288e4fc5c4006733b38cf0d53
web
-
github.com
/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c
exploit, web
-
github.com
/nuxt-content/mdc/releases/tag/v0.22.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-63671
advisory
-
github.com
/nuxt-content/mdc
package
Sources
- CVE List CVE-2026-63671
- GitHub Advisory GHSA-mxm6-v9r6-r94c
- NVD CVE-2026-63671
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.