PoC Monitor
← All CVEs
CVE-2026-49492published 5 Jun 2026 17:49 UTCData: JSON · API

Shd101wyy Markdown Preview Enhanced

Markdown Preview Enhanced OS Command Injection in External File and Link Opening

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 - 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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

shd101wyy Markdown Preview Enhanced
  • < 0.8.28

Fixed in 0.8.28

Mitigation

Upgrade Markdown Preview Enhanced to 0.8.28 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published5 Jun 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

1 informational

Informational 1
RepositoryCreatedStarsAssessment
byte16384/CVE-2026-49492-PoC 11 Jun 2026 +5.7 d 0 Informational · write-up

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.