{"id":79361,"date":"2026-06-05T21:47:33","date_gmt":"2026-06-05T18:17:33","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-49492-markdown-preview-enhanced-os-command-injection-in-external-file-and-link-opening\/"},"modified":"2026-06-05T21:47:33","modified_gmt":"2026-06-05T18:17:33","slug":"cve-2026-49492-markdown-preview-enhanced-os-command-injection-in-external-file-and-link-opening","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-49492-markdown-preview-enhanced-os-command-injection-in-external-file-and-link-opening\/","title":{"rendered":"CVE-2026-49492 &#8211; Markdown Preview Enhanced OS Command Injection in External File and Link Opening"},"content":{"rendered":"<p>CVE ID :CVE-2026-49492<\/p>\n<p>  Published : June 5, 2026, 6:17 p.m. | 15\u00a0minutes ago<\/p>\n<p>  Description :Markdown Preview Enhanced before 0.8.28 opens external files and links from the preview through a shell and does not validate untrusted inputs taken from the markdown document &#8211; the diagram filename attribute, imported file paths, and the latex_engine code-chunk attribute. On Windows, a crafted markdown document can inject operating system commands that execute when the document is previewed. Fixed in 0.8.28 by passing these inputs as literal arguments instead of through a shell and validating them before use.<\/p>\n<p>  Severity: 8.8 | HIGH<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-49492 Published : June 5, 2026, 6:17 p.m. | 15\u00a0minutes ago Description :Markdown Preview Enhanced before 0.8.28 opens external files and links from the preview through a shell and does not validate untrusted inputs taken from the markdown document &#8211; the diagram filename attribute, imported file paths, and the latex_engine code-chunk attribute. On &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-79361","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=79361"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/79361\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=79361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=79361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=79361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}