{"id":15870,"date":"2026-09-04T19:04:34","date_gmt":"2026-09-04T11:04:34","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-50733"},"modified":"2026-09-04T19:04:34","modified_gmt":"2026-09-04T11:04:34","slug":"cve-2026-50733","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-50733","title":{"rendered":"CVE-2026-50733 [HIGH] &#8211; Markdown Preview Enhanced before 0.8.28 parses WaveDrom diagrams by evaluating untrusted m"},"content":{"rendered":"<p>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 &#8211; the live preview (window.eval) and presentation mode plus HTML export (the bundled WaveDrom.ProcessAll()\/eva() helpers) &#8211; and can also be triggered through a  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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 &#8211; the<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15870","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15870","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15870"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15870"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15870"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}