Markdown Preview Enhanced before 0.8.28 parses WaveDrom diagrams by evaluating untrusted markdown content with eval(), allowing arbitrary JavaScript execution. The flaw affects every render path - the live preview (window.eval) and presentation mode plus HTML export (the bundled WaveDrom.ProcessAll()/eva() helpers) - and can also be triggered through a element injected via raw HTML in markdown. When a victim previews or exports a crafted markdown document, an attacker can execute arbitrary code, leading to arbitrary file write. Fixed in 0.8.28 by parsing with JSON5.parse() and sanitizing WaveDrom data scripts to inert strict JSON.
CVE-2026-50733
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-06-05. a secondary CVSS source 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
- 56(Track*)EG Risk 56/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%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 28.7%
- KEV
- Not listed
Published
June 5, 2026
Last Modified
June 5, 2026
Advisory Details (3)
Auto-updated Jun 5, 2026Markdown Preview Enhanced Arbitrary Code Execution via WaveDrom eval() | Advisories | VulnCheck
https://www.vulncheck.com/advisories/markdown-preview-enhanced-arbitrary-code-execution-via-wavedrom-eval0.8.28
Patch available: shd101wyy/vscode-markdown-preview-enhanced 0.8.28
https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28[BUG] [Security Vulnerability] Arbitrary File Write via WaveDrom eval() Code Injection in Markdown Preview Enhanced · Issue #2315 · shd101wyy/vscode-markdown-preview-enhanced · GitHub
https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/2315Vendor Advisories for CVE-2026-50733(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 10× in last 7d / 74× 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 131 total refreshes for this CVE.
- 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
- 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-15 02:00 UTCEPSS rescore
- 2026-07-14 15:08 UTCGHSA enrichment
- 2026-07-14 03:00 UTCGHSA enrichment
- 2026-07-13 22:31 UTCEPSS rescore
- 2026-07-13 06:13 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:21 UTCGHSA enrichment
- 2026-07-11 10:10 UTCGHSA enrichment
- 2026-07-11 08:27 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-10 22:04 UTCGHSA enrichment
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-09 10:06 UTCGHSA enrichment
- 2026-07-08 21:30 UTCGHSA enrichment
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 15:16 UTCEPSS rescore
- 2026-07-08 07:40 UTCGHSA enrichment
- 2026-07-07 13:46 UTCEPSS rescore
- 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:30 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 21:52 UTCGHSA enrichment
- 2026-07-03 09:43 UTCGHSA enrichment
- 2026-07-02 19:32 UTCGHSA enrichment
- 2026-07-02 07:27 UTCGHSA enrichment
- 2026-07-01 19:16 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 01:39 UTCGHSA enrichment
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 13:34 UTCGHSA enrichment
- 2026-06-29 01:29 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 13:23 UTCGHSA enrichment
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 01:17 UTCGHSA enrichment
- 2026-06-27 13:12 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 01:07 UTCGHSA enrichment
- 2026-06-26 13:02 UTCGHSA enrichment
- 2026-06-25 21:43 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 09:38 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:36 UTCGHSA enrichment
- 2026-06-22 14:28 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 11:40 UTCGHSA enrichment
- 2026-06-19 23:33 UTCGHSA enrichment
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 11:16 UTCGHSA enrichment
- 2026-06-18 21:49 UTCGHSA enrichment
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 09:44 UTCGHSA enrichment
- 2026-06-17 20:17 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 08:12 UTCGHSA enrichment
- 2026-06-16 20:07 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 08:02 UTCGHSA enrichment
- 2026-06-15 19:58 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
Frequently asked(5)
What is CVE-2026-50733?
When was CVE-2026-50733 disclosed?
Is CVE-2026-50733 actively exploited?
What is the CVSS score of CVE-2026-50733?
How do I remediate CVE-2026-50733?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-50733
Is Your Infrastructure Affected by CVE-2026-50733?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.