{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-50733","published":"2026-06-05T18:17:34.050000Z","last_modified":"2026-10-26T11:10:00.157000Z","status":"Deferred","cvss":{"version":"4.0","score":8.6,"severity":"HIGH","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/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","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-95"],"cpes":[],"cpes_truncated":false,"vendors":["shd101wyy"],"products":["shd101wyy/markdown-preview-enhanced"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2026-50733/","html_en":"/en/cve/CVE-2026-50733/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50733","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50733"},"untrusted":{"vendor_name":"shd101wyy","product_name":"Markdown Preview Enhanced","desc_en":"Markdown Preview Enhanced before 0.8.28 parses WaveDrom diagrams by evaluating untrusted markdown content with eval(), allowing arbitrary JavaScript execution. The flaw affects every render path - the live preview (window.eval) and presentation mode plus HTML export (the bundled WaveDrom.ProcessAll()/eva() helpers) - and can also be triggered through a <script type=\"WaveDrom\"> element injected via raw HTML in markdown. When a victim previews or exports a crafted markdown document, an attacker can execute arbitrary code, leading to arbitrary file write. Fixed in 0.8.28 by parsing with JSON5.parse() and sanitizing WaveDrom data scripts to inert strict JSON.","affected":[{"untrusted_vendor":"shd101wyy","untrusted_product":"Markdown Preview Enhanced","versions":[]}],"references":[{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/2315","tags":[]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28","tags":[]},{"url":"https://www.vulncheck.com/advisories/markdown-preview-enhanced-arbitrary-code-execution-via-wavedrom-eval","tags":[]}]}}