Skip to main content
VulnerabilityPublished Updated

CVE-2026-49492: shd101wyy Markdown Preview Enhanced · OS Command Injection

Affects shd101wyy Markdown Preview EnhancedSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 0.8.28 soon.

Data as of 30 Oct 2026, 06:59 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
shd101wyyMarkdown Preview EnhancedAffected
  • <0.8.28
Fixed in
  • 0.8.28

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.

References

Community reviews

Loading reviews…