RCE in Shd101wyy Markdown Preview Enhanced

CVE-2026-49493

Markdown Preview Enhanced before 0.8.28 parses Bitfield fenced code blocks with interpretJS(), which evaluates the block content as code via vm.runInNewContext(), allowing arbitrary code execution. A crafted markdown document containing a…

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.003 (24.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-49493?
CVE-2026-49493 is a high-severity vulnerability in Shd101wyy Markdown Preview Enhanced, classified under Code Injection. CVSS score: 8.8/10. Published 2026-06-05.
How severe is CVE-2026-49493?
High severity. CVSS v3 base score is 8.8 out of 10.