CVE-2026-50733
Last modified
CVE-2026-50733 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 0.36% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50733?
How severe is CVE-2026-50733?
How do I fix CVE-2026-50733?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50711A Stored Cross-Site Scripting (XSS) vulnerability exists in …4.6
- CVE-2026-50712A Stored Cross-Site Scripting (XSS) vulnerability exists in …4.8
- CVE-2026-5072A bitwise shift vulnerability in Zephyr's PTP subsystem allo…6.5
- CVE-2026-50721Libreswan, via the function RSA_authenticate_hash_signature_…5.9
- CVE-2026-50722Libreswan, via the function RSA_authenticate_hash_signature_…5.9
- CVE-2026-5073The ARMember Premium plugin for WordPress is vulnerable to S…7.5
- CVE-2026-50734Memory Allocation with Excessive Size Value vulnerability in…7.5
- CVE-2026-50735pglogical's apply worker does not sufficiently validate the …6.1
- CVE-2026-50736The pglogical queue mechanism, used to convey out-of-band co…9
- CVE-2026-50737When applying replicated changes for a row that is missing o…9
- CVE-2026-50738A use-after-free condition exists in pglogical's worker sign…7.7
- CVE-2026-50739A bypass for CVE‑2026‑34913 exists with proper ownership val…4.3
Are you affected by CVE-2026-50733?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
