{"id":"CVE-2026-11422","aliases":["CVE-2026-11422"],"related":[],"kind":"vulnerability","state":"published","title":"Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Markdown Preview Enhanced 0.8.x con crossnote engine 0.9.28 contiene una vulnerabilidad de inyección de código en la tubería de renderizado de WaveDrom que permite a los atacantes ejecutar JavaScript arbitrario incrustando contenido malicioso en un bloque de código cercado de wavedrom dentro de un documento Markdown manipulado. Los atacantes pueden exploit la transferencia no saneada del contenido del bloque wavedrom a window.eval() en el contexto de la webview de VS Code para abusar del paso de mensajes de la extensión e invocar escrituras de archivos arbitrarias en el sistema de archivos local.","source":"nvd"}],"published":"2026-06-05T20:16:50.802Z","modified":"2026-07-23T07:10:00.113Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":7.1,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.4,"rating":"HIGH"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"0.8.27","status":"affected"}],"vendor":"shd101wyy","product":"Markdown Preview Enhanced","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.9.28","status":"affected"}],"vendor":"shd101wyy","product":"crossnote","source":"cvelist"}],"references":[{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/2315","tags":["exploit","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4ef347b91ee","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281c986293b93d9f1af34ced64dcb230c77","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/markdown-preview-enhanced-x-code-injection-via-wavedrom-rendering","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Neo by ProjectDiscovery"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-06-08T13:09:37.324Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-11422","url":"https://www.cve.org/CVERecord?id=CVE-2026-11422","licence":"CVE Terms of Use","modified":"2026-07-14T15:53:06.115Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-11422","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-11422","licence":"Public domain","modified":"2026-07-23T07:10:00.113Z"}],"updatedAt":"2026-11-25T22:59:23.911Z","epss":{"score":0.00159,"percentile":0.05302,"date":"2026-12-01T12:00:22.000Z"}}