Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2022-45025: Markdown Preview Enhanced v0.6.5 and v0.19.6 for VSCode and Atom was discovered to contain a command injection

72
This week
CRITICAL 9.8REMOTEDOWNGRADEDOWNGRADE

CVE-2022-45025 is a critical-severity flaw (CVSS 9.8) affecting markdown preview enhanced, markdown preview enhanced. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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.

Why this priority

  • Critical severity
  • EPSS top 2%: very likely to be exploited
  • Public exploit reference
  • CISA SSVC: automatable with total technical impact
  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score9.8 (Critical)
Attack vectorNetwork (remote)
Attack complexityLow
Privileges neededNone
User interactionNone
EPSS exploit chance34.8% (top 2%)
CISA exploited listNo
WeaknessCWE-78
Published2022-12-07
Last modified2026-06-17
Publisher (CNA): MITRE · Vendor: markdown preview enhanced project

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

markdown preview enhanced project markdown preview enhanced DOWNGRADE
Affected: 0.6.5 · 0.19.6
Fixed in: no fixed release known
Safe to downgrade to: a release before 0.6.5
1. Check installed version
apt-cache policy markdown-preview-enhanced || rpm -q markdown-preview-enhanced || markdown-preview-enhanced --version
2. No fixed release: DOWNGRADE to a release before 0.6.5 (Debian / Ubuntu)
apt-cache madison markdown-preview-enhanced sudo apt install markdown-preview-enhanced=<VERSION_BEFORE_0.6.5> sudo apt-mark hold markdown-preview-enhanced
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list markdown-preview-enhanced sudo dnf downgrade markdown-preview-enhanced-<VERSION_BEFORE_0.6.5> sudo dnf versionlock add markdown-preview-enhanced
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
markdown preview enhanced project markdown preview enhanced DOWNGRADE
Affected: 0.6.5 · 0.19.6
Fixed in: no fixed release known
Safe to downgrade to: a release before 0.6.5
1. Check installed version
apt-cache policy markdown-preview-enhanced || rpm -q markdown-preview-enhanced || markdown-preview-enhanced --version
2. No fixed release: DOWNGRADE to a release before 0.6.5 (Debian / Ubuntu)
apt-cache madison markdown-preview-enhanced sudo apt install markdown-preview-enhanced=<VERSION_BEFORE_0.6.5> sudo apt-mark hold markdown-preview-enhanced
2. No fixed release: DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list markdown-preview-enhanced sudo dnf downgrade markdown-preview-enhanced-<VERSION_BEFORE_0.6.5> sudo dnf versionlock add markdown-preview-enhanced
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.

Exact fixes by distribution

A distro patch exists: prefer upgrading over downgrading.
Fedora 46 · lib3mf · FIXED · 2.2.0-25.fc46 · FEDORA-2026-e250630e59 · source
sudo dnf upgrade --advisory=FEDORA-2026-e250630e59
Fedora ELN · libslirp · FIXED · 4.9.7-1.eln159 · FEDORA-2026-209cb94e13 · source
sudo dnf upgrade --advisory=FEDORA-2026-209cb94e13

Public exploits and detection

Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.

Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2022-45025?

markdown preview enhanced: downgrade or apply the listed mitigation; markdown preview enhanced: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.

Is CVE-2022-45025 being exploited?

CVE-2022-45025 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2022-45025 affect?

CVE-2022-45025 affects markdown preview enhanced, markdown preview enhanced. Severity is critical (CVSS 9.8). 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.

How urgent is CVE-2022-45025?

Priority 72/100. Critical severity; EPSS top 2%: very likely to be exploited; Public exploit reference; CISA SSVC: automatable with total technical impact; Remotely exploitable, no login, no user action

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.