Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-50733— Markdown Preview Enhanced Arbitrary Code Execution via WaveDrom eval()

CVSS 8.8 · High EPSS 0.36% · P29

Affected Version Matrix 1

VendorProductVersion RangeStatus
shd101wyyMarkdown Preview Enhanced< 0.8.28affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-50733

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Markdown Preview Enhanced Arbitrary Code Execution via WaveDrom eval()
Source: CVE Program / CVE List V5
Vulnerability Description
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 <script type="WaveDrom"> 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
动态执行代码中指令转义处理不恰当(Eval注入)
Source: CVE Program / CVE List V5
Vulnerability Title
Markdown Preview Enhanced 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Markdown Preview Enhanced是Yiyi Wang个人开发者的一个超级强大标记扩展。 Markdown Preview Enhanced 0.8.28之前版本存在安全漏洞,该漏洞源于通过eval()解析不受信任的markdown内容中的WaveDrom图,可能导致任意JavaScript执行,进而导致任意文件写入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
shd101wyyMarkdown Preview Enhanced 0 ~ 0.8.28 -

II. Public POCs for CVE-2026-50733

#POC DescriptionSource LinkShenlong Link
AI-Generated POCVerified env Premium
Qwen3.6-35B-A3B · 10250 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-50733

登录查看更多情报信息。

Vendor Advisories for CVE-2026-50733 (1)

Proof of Concept for CVE-2026-50733 (1)

Vendor Pages for CVE-2026-50733 (1)

Same Patch Batch · shd101wyy · 2026-06-05 · 4 CVEs total

CVE-2026-494938.8 HIGHMarkdown Preview Enhanced Arbitrary Code Execution via Bitfield interpretJS()
CVE-2026-494928.8 HIGHMarkdown Preview Enhanced OS Command Injection in External File and Link Opening
CVE-2026-114227.1 HIGHMarkdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering

IV. Related Vulnerabilities

V. Comments for CVE-2026-50733

No comments yet


Leave a comment