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 malicious bitfield code block executes attacker-controlled code on the server side when the document is rendered or exported. Fixed in 0.8.28 by parsing bitfield register definitions with JSON5.parse(), since they are purely data.
CVE-2026-49493
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-06-05. the CNA's CVSS baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(medium)
- EG Risk
- 40(Track)EG Risk 40/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity88% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 25%
- KEV
- Not listed
Published
June 5, 2026
Last Modified
June 9, 2026
Advisory Details (2)
Auto-updated Jun 5, 2026Markdown Preview Enhanced Arbitrary Code Execution via Bitfield interpretJS() | Advisories | VulnCheck
https://www.vulncheck.com/advisories/markdown-preview-enhanced-arbitrary-code-execution-via-bitfield-interpretjs0.8.28
Patch available: shd101wyy/vscode-markdown-preview-enhanced 0.8.28
https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28Vendor Advisories for CVE-2026-49493(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 18× in last 7d / 59× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 149 total refreshes for this CVE.
- 2026-08-01 23:28 UTCGHSA enrichment
- 2026-08-01 11:10 UTCEG score recompute
- 2026-08-01 11:10 UTCGHSA enrichment
- 2026-08-01 04:16 UTCEPSS rescore
- 2026-07-31 18:10 UTCGHSA enrichment
- 2026-07-31 05:13 UTCEG score recompute
- 2026-07-31 05:13 UTCGHSA enrichment
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 09:35 UTCEG score recompute
- 2026-07-29 09:35 UTCGHSA enrichment
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-28 03:01 UTCEG score recompute
- 2026-07-28 03:01 UTCGHSA enrichment
- 2026-07-27 10:10 UTCGHSA enrichment
- 2026-07-26 21:52 UTCEG score recompute
- 2026-07-26 21:52 UTCGHSA enrichment
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:18 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 11:56 UTCGHSA enrichment
- 2026-07-15 22:42 UTCGHSA enrichment
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-14 15:23 UTCGHSA enrichment
- 2026-07-14 03:00 UTCGHSA enrichment
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 11:58 UTCGHSA enrichment
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 22:45 UTCGHSA enrichment
- 2026-07-11 10:27 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 22:04 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 10:08 UTCGHSA enrichment
- 2026-07-08 21:30 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 07:40 UTCGHSA enrichment
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 18:32 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 20:32 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 22:10 UTCGHSA enrichment
- 2026-07-03 09:43 UTCGHSA enrichment
- 2026-07-02 20:03 UTCGHSA enrichment
- 2026-07-02 07:43 UTCGHSA enrichment
- 2026-07-01 19:26 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 07:09 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 18:07 UTCGHSA enrichment
- 2026-06-30 03:11 UTCGHSA enrichment
- 2026-06-29 14:54 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 02:36 UTCGHSA enrichment
- 2026-06-28 14:15 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 01:56 UTCGHSA enrichment
- 2026-06-27 13:38 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 01:19 UTCGHSA enrichment
- 2026-06-26 13:02 UTCGHSA enrichment
- 2026-06-25 22:19 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 09:50 UTCGHSA enrichment
- 2026-06-24 21:33 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 08:25 UTCGHSA enrichment
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 17:30 UTCGHSA enrichment
- 2026-06-23 02:49 UTCGHSA enrichment
- 2026-06-22 14:30 UTCGHSA enrichment
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 03:45 UTCGHSA enrichment
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-20 08:23 UTCGHSA enrichment
- 2026-06-19 19:26 UTCEPSS rescore
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p96HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p95HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2026-49493?
When was CVE-2026-49493 disclosed?
Is CVE-2026-49493 actively exploited?
What is the CVSS score of CVE-2026-49493?
How do I remediate CVE-2026-49493?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-49493
Is Your Infrastructure Affected by CVE-2026-49493?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.