Approved changes feed: RSS · Atom

cpe:2.3:a:shd101wyy:markdown_preview_enhanced:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorShd101Wyy (7b92e980-06ff-501e-ac20-e5b63c4a51f4)
ProductMarkdown Preview Enhanced (b62757ab-806f-5772-b6e0-3ec66017e581)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/shd101wyy/markdown-preview-enhanced purl2cpe 2026-06-01 10:16:18.411966

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-50733 vulnerable 2026-06-08 08:07:02.848785 Markdown Preview Enhanced Arbitrary Code Execution via WaveDrom eval()
HIGH (8.8)
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.
Published: 2026-06-05T17:49:53.631Z
Updated: 2026-06-05T19:03:27.311Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49493 vulnerable 2026-06-08 08:05:12.456549 Markdown Preview Enhanced Arbitrary Code Execution via Bitfield interpretJS()
HIGH (8.8)
Markdown Preview Enhanced before 0.8.28 parses Bitfield fenced code blocks with interpretJS(), which evaluates the block content as code via vm.runInNewContext(), allowing arbitrary code execution. A crafted markdown document containing a malicious bitfield code block executes attacker-controlled code on the server side when the document is rendered or exported. Fixed in 0.8.28 by parsing bitfield register definitions with JSON5.parse(), since they are purely data.
Published: 2026-06-05T17:49:52.826Z
Updated: 2026-06-09T14:36:57.617Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49492 vulnerable 2026-06-08 08:05:12.455320 Markdown Preview Enhanced OS Command Injection in External File and Link Opening
HIGH (8.8)
Markdown Preview Enhanced before 0.8.28 opens external files and links from the preview through a shell and does not validate untrusted inputs taken from the markdown document - the diagram filename attribute, imported file paths, and the latex_engine code-chunk attribute. On Windows, a crafted markdown document can inject operating system commands that execute when the document is previewed. Fixed in 0.8.28 by passing these inputs as literal arguments instead of through a shell and validating them before use.
Published: 2026-06-05T17:49:52.057Z
Updated: 2026-06-08T16:14:52.814Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-11422 vulnerable 2026-06-08 07:47:14.151172 Markdown Preview Enhanced 0.8.x Code Injection via WaveDrom Rendering
HIGH (7.1)
Markdown Preview Enhanced 0.8.x with crossnote engine 0.9.28 contains a code injection vulnerability in the WaveDrom rendering pipeline that allows attackers to execute arbitrary JavaScript by embedding malicious content in a wavedrom fenced code block within a crafted Markdown document. Attackers can exploit the unsanitized passing of wavedrom block content to window.eval() in the VS Code webview context to abuse the extension's message passing and invoke arbitrary file writes on the local filesystem.
Published: 2026-06-05T20:16:50.802Z
Updated: 2026-07-14T15:53:06.115Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.