{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-11422","id":"CVE-2026-11422","title":"Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering","description":"Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28 contains a code injection vulnerability in the WaveDrom rendering pipeline that allows attackers to execute arbitrary JavaScript by embedding malicious content in a wavedrom fenced code block within a crafted Markdown document. Attackers can exploit the unsanitized passing of wavedrom block content to window.eval() in the VS Code webview","descriptionLong":"Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28 contains a code injection vulnerability in the WaveDrom rendering pipeline that allows attackers to execute arbitrary JavaScript by embedding malicious content in a wavedrom fenced code block within a crafted Markdown document. Attackers can exploit the unsanitized passing of wavedrom block content to window.eval() in the VS Code webview context to abuse the extension's message passing and invoke arbitrary file writes on the local filesystem.","published":"2026-06-05T20:16:50.802Z","updated":"2026-10-28T02:30:21.952803321Z","reserved":"2026-06-05T20:01:11.442Z","status":"Awaiting Analysis","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":8.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"VulnCheck"},"metrics":[{"version":"4.0","score":8.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"high","source":"VulnCheck"},{"version":"4.0","score":8.4,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"vulncheck.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"VulnCheck"},{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"high","source":"vulncheck.com"}],"rating":"high","products":["shd101wyy Markdown Preview Enhanced","shd101wyy crossnote"],"affectedProducts":[{"vendor":"shd101wyy","product":"Markdown Preview Enhanced","defaultStatus":"affected","versions":[{"status":"affected","version":"0","lessThan":"0.8.27","versionType":"custom"}],"platforms":[]},{"vendor":"shd101wyy","product":"crossnote","defaultStatus":"affected","versions":[{"status":"affected","version":"0","lessThan":"0.9.28","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-95"],"aliases":[],"references":[{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/2315","tags":["issue-tracking","exploit","report"]},{"url":"https://github.com/shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4ef347b91ee","tags":["patch","fix"]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281c986293b93d9f1af34ced64dcb230c77","tags":["patch","fix"]},{"url":"https://www.vulncheck.com/advisories/markdown-preview-enhanced-x-code-injection-via-wavedrom-rendering","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/11xxx/CVE-2026-11422.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11422","tags":["advisory"]},{"url":"https://github.com/shd101wyy/crossnote","tags":["package"]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00159,"epssPercentile":0.05133,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-11422","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11422","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-11422","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-11422","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}