PT-2026-47025 · Unknown · Markdown Preview Enhanced

CVE-2026-50733

·

Published

2026-06-05

·

Updated

2026-06-08

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Markdown Preview Enhanced versions prior to 0.8.28
Description The software parses WaveDrom diagrams by evaluating untrusted markdown content using the eval() function, which allows for arbitrary JavaScript execution. This issue affects all render paths, including the live preview via window.eval, presentation mode, and HTML export through the WaveDrom.ProcessAll() and eva() helpers. Additionally, the flaw can be triggered by injecting a <script type="WaveDrom"> element via raw HTML in markdown. An attacker can execute arbitrary code and perform arbitrary file writes when a victim previews or exports a specially crafted markdown document.
Recommendations Update to version 0.8.28.

Exploit

Fix

Eval Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-50733

Affected Products

Markdown Preview Enhanced