Read the docs
TI-2026-36642 Aliases CVE-2026-49492GHSA-3vxg-8vgp-994w

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

Priority LOW 39CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0034 27th percentileScored 2026-11-07
Fix Fixed Markdown Preview Enhanced (shd101wyy): 0.8.28

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
shd101wyyMarkdown Preview Enhancedbefore 0.8.280.8.28Patch availableCNA
  • Markdown Preview Enhanced Vendorshd101wyy Affected before 0.8.28 Fixed in 0.8.28 Patch available CNA

Remediation

  • Fix · CNA Markdown Preview Enhanced (shd101wyy) Fixed in 0.8.28

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    shd101wyy Markdown Preview Enhanced 0.8.28

    3 records Highest priority Priority HIGH 1 HIGH, 2 LOW

    Other records, highest priority first

    • TI-2026-37396 Markdown Preview Enhanced Arbitrary Code Execution via WaveDrom eval()Priority HIGH 72
    • TI-2026-36643 Markdown Preview Enhanced Arbitrary Code Execution via Bitfield interpretJS()Priority LOW 39

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-49492
  2. 2026-10-03 Alias added: GHSA-3vxg-8vgp-994w
  3. 2026-10-25 Priority changed: MEDIUM → LOW

References

  • TI-2025-40425 An issue in Visual Studio Code Extensions Markdown Preview Enhanced v0.8.18 allows… CVSS 3.1HIGH 8.8
  • TI-2026-74453 Sandbox escape in Markdown Preview Enhanced allows code execution CVSS 4.0HIGH 8.5
  • TI-2026-37396 Markdown Preview Enhanced Arbitrary Code Execution via WaveDrom eval() CVSS 4.0HIGH 8.6
  • TI-2026-09857 Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering CVSS 4.0HIGH 8.4
  • TI-2026-74455 Unvalidated command dispatch in Markdown Preview Enhanced extension CVSS 4.0HIGH 7.3
  • TI-2026-74454 Cross-site scripting in Markdown Preview Enhanced VS Code extension CVSS 4.0MEDIUM 6.9
See all 9 →

Sources