CVE-2026-49492: shd101wyy Markdown Preview Enhanced · OS Command Injection
Affects shd101wyy Markdown Preview EnhancedSource CVE Database V5
Not known to be exploited · CVSS 8.6 High : upgrade to 0.8.28 soon.
Data as of 30 Oct 2026, 06:59 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.8.28
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
Upgrade shd101wyy Markdown Preview Enhanced to 0.8.28.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| shd101wyyMarkdown Preview Enhanced | Affected
| Fixed in
|
AI-suggested
Upgrade Markdown Preview Enhanced to version 0.8.28 or later, where this vulnerability is fixed by proper input validation and passing inputs as literal arguments instead of through a shell. No other mitigation is required once updated.
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 - 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.