CVE-2026-49492shd101wyy Markdown Preview Enhanced
High 8.6 No auth needed
Follow: this CVE · shd101wyy · shd101wyy Markdown Preview Enhanced We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 4.0
- 8.6
- EPSS
- —
- Auth required
- No
- Published
- Jun 5, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- 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
What happens
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.
What to do
- Apply the vendor's security update for Markdown Preview Enhanced.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- shd101wyy · Markdown Preview Enhanced
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.