CVE-2022-45025

CRITICAL

Markdown Preview Enhanced - OS Command Injection via PDF File Import

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2022-45025. PoCs published by yuriisanin.

AI-analyzed exploit summary This repository contains a proof-of-concept for CVE-2022-45025, demonstrating command injection via PDF import in Markdown Preview Enhanced. The vulnerability arises from the use of `spawn` with `{shell: true}`, allowing arbitrary code execution through crafted Markdown files.

Description

Markdown Preview Enhanced v0.6.5 and v0.19.6 for VSCode and Atom was discovered to contain a command injection vulnerability via the PDF file import function.

Exploits (1)

nomisec WORKING POC 90 stars
by yuriisanin · poc
https://github.com/yuriisanin/CVE-2022-45025

This repository contains a proof-of-concept for CVE-2022-45025, demonstrating command injection via PDF import in Markdown Preview Enhanced. The vulnerability arises from the use of `spawn` with `{shell: true}`, allowing arbitrary code execution through crafted Markdown files.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Markdown Preview Enhanced (VSCode/Atom plugins)
No auth needed
Prerequisites: Victim must open a specially crafted Markdown file in VSCode or Atom with the vulnerable plugin installed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References

Scores

CVSS v3 9.8
EPSS 0.3453
EPSS Percentile 98.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-78
Status published
Products (2)
markdown_preview_enhanced_project/markdown_preview_enhanced 0.6.5 (2 CPE variants)
markdown_preview_enhanced_project/markdown_preview_enhanced 0.19.6 (2 CPE variants)
Published Dec 07, 2022
Tracked Since Feb 18, 2026