{"id":"CVE-2026-63671","published":"2026-09-16T15:17:40.100","lastModified":"2026-09-18T18:17:10.793","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.","cvssScore":8.1,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","cwes":["CWE-79","CWE-184"],"vendors":[],"products":[],"references":[{"url":"https://github.com/nuxt-content/mdc/commit/61d636c2983f021288e4fc5c4006733b38cf0d53","tags":[]},{"url":"https://github.com/nuxt-content/mdc/pull/491","tags":[]},{"url":"https://github.com/nuxt-content/mdc/releases/tag/v0.22.1","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]}],"exploitRefs":[{"url":"https://github.com/nuxt-content/mdc/commit/61d636c2983f021288e4fc5c4006733b38cf0d53","tags":[]},{"url":"https://github.com/nuxt-content/mdc/pull/491","tags":[]},{"url":"https://github.com/nuxt-content/mdc/releases/tag/v0.22.1","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]},{"url":"https://github.com/nuxt-content/mdc/security/advisories/GHSA-mxm6-v9r6-r94c","tags":[]}],"hasPoc":true,"ai":{"summary":"The flaw allows an attacker to inject executable JavaScript via SVG xlink:href, leading to potential code execution in the page origin.","exploitability":"Exploitation is moderately hard as it requires crafting a specific SVG xlink:href with a javascript: URL, and the attacker must be able to inject untrusted Markdown content.","blast_radius":"If exploited, this could lead to full compromise of the affected web application, allowing an attacker to execute arbitrary JavaScript in the context of the victim’s browser session.","remediation":"Upgrade to version 0.22.1 or later.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["rce","web","markdown","svg","xlink:href"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-10-05T08:45:28.901Z"}}