# CVE-2026-63671: @nuxtjs/mdc: the URL sanitizer misses SVG xlink:href and data:text/html, allowing XSS from untrusted markdown at the default configuration

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-16T14:25:47.539Z
- Modified: 2026-09-24T21:25:27.050Z
- Also known as: GHSA-mxm6-v9r6-r94c
- Weaknesses: CWE-79, CWE-184
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nuxt-content mdc: < 0.22.1
- @nuxtjs/mdc (npm): before 0.22.1

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c> (exploit, web)
- <https://github.com/nuxt-content/mdc/pull/491> (web)
- <https://github.com/nuxt-content/mdc/commit/61d636c2983f021288e4fc5c4006733b38cf0d53> (web)
- <https://github.com/nuxt-content/mdc/releases/tag/v0.22.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-63671> (advisory)
- <https://github.com/nuxt-content/mdc> (package)

## Sources

- CVE List: [CVE-2026-63671](https://www.cve.org/CVERecord?id=CVE-2026-63671), CVE Terms of Use, modified 2026-09-18
- GitHub Advisory Database: [GHSA-mxm6-v9r6-r94c](https://github.com/advisories/GHSA-mxm6-v9r6-r94c), CC-BY-4.0, modified 2026-09-16
- NVD: [CVE-2026-63671](https://nvd.nist.gov/vuln/detail/CVE-2026-63671), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-63671 · Whole record: https://cve.day/CVE-2026-63671.json · Rebuilt by cve.day 2026-11-25T22:59:39.055Z
