Approved changes feed: RSS · Atom

cpe:2.3:a:markdown_preview_enhanced_project:markdown_preview_enhanced:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorMarkdown Preview Enhanced Project (41ae79d1-0a17-58b6-93d6-6eef6f88266d)
ProductMarkdown Preview Enhanced (85164246-c60a-57f1-9643-06ea3e549afa)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/nadavhames/markdown-preview-enhanced purl2cpe 2026-06-01 10:17:51.096318
pkg:github/shd101wyy/markdown-preview-enhanced purl2cpe 2026-06-01 10:17:51.096322

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-50733 vulnerable 2026-06-08 08:07:02.850219 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-11-08T14:05:02.848Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49493 vulnerable 2026-06-08 08:05:12.456588 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-11-08T14:04:54.235Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-49492 vulnerable 2026-06-08 08:05:12.456286 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-11-08T14:04:53.515Z
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.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.