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(high)
- EPSS
- 28.3%
- 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 24× in last 7d / 143× 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-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 18:31 UTCEG score recompute
- 2026-07-05 18:30 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 20:32 UTCEG score recompute
- 2026-07-04 20:32 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 21:52 UTCEG score recompute
- 2026-07-03 21:52 UTCGHSA enrichment
- 2026-07-03 09:43 UTCEG score recompute
- 2026-07-03 09:43 UTCGHSA enrichment
- 2026-07-02 19:32 UTCEG score recompute
- 2026-07-02 19:32 UTCGHSA enrichment
- 2026-07-02 07:27 UTCEG score recompute
- 2026-07-02 07:27 UTCGHSA enrichment
- 2026-07-01 19:16 UTCEG score recompute
- 2026-07-01 19:16 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 07:09 UTCEG score recompute
- 2026-07-01 07:09 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 18:07 UTCEG score recompute
- 2026-06-30 18:07 UTCGHSA enrichment
- 2026-06-30 01:39 UTCEG score recompute
Show 75 moreShow fewer
- 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 UTCEG score recompute
- 2026-06-29 13:34 UTCGHSA enrichment
- 2026-06-29 01:29 UTCEG score recompute
- 2026-06-29 01:29 UTCGHSA enrichment
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 13:23 UTCEG score recompute
- 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 UTCEG score recompute
- 2026-06-28 01:17 UTCGHSA enrichment
- 2026-06-27 13:12 UTCEG score recompute
- 2026-06-27 13:12 UTCGHSA enrichment
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-27 01:07 UTCEG score recompute
- 2026-06-27 01:07 UTCGHSA enrichment
- 2026-06-26 13:02 UTCEG score recompute
- 2026-06-26 13:02 UTCGHSA enrichment
- 2026-06-25 21:43 UTCEG score recompute
- 2026-06-25 21:43 UTCGHSA enrichment
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 09:38 UTCEG score recompute
- 2026-06-25 09:38 UTCGHSA enrichment
- 2026-06-24 21:33 UTCEG score recompute
- 2026-06-24 21:33 UTCGHSA enrichment
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-24 08:25 UTCEG score recompute
- 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 UTCEG score recompute
- 2026-06-23 17:30 UTCGHSA enrichment
- 2026-06-23 02:36 UTCEG score recompute
- 2026-06-23 02:36 UTCGHSA enrichment
- 2026-06-22 14:29 UTCEG score recompute
- 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 UTCEG score recompute
- 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 UTCEG score recompute
- 2026-06-20 11:40 UTCGHSA enrichment
- 2026-06-19 23:34 UTCEG score recompute
- 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:17 UTCEG score recompute
- 2026-06-19 11:16 UTCGHSA enrichment
- 2026-06-18 21:49 UTCEG score recompute
- 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 UTCEG score recompute
- 2026-06-18 09:44 UTCGHSA enrichment
- 2026-06-17 20:17 UTCEG score recompute
- 2026-06-17 20:17 UTCGHSA enrichment
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 08:12 UTCEG score recompute
- 2026-06-17 08:12 UTCGHSA enrichment
- 2026-06-16 20:07 UTCEG score recompute
- 2026-06-16 20:07 UTCGHSA enrichment
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-16 08:02 UTCEG score recompute
- 2026-06-16 08:02 UTCGHSA enrichment
- 2026-06-15 19:58 UTCEG score recompute
- 2026-06-15 19:58 UTCGHSA enrichment
- 2026-06-15 17:49 UTCEPSS rescore
- 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.