CVE-2022-45025: Markdown Preview Enhanced v0.6.5 and v0.19.6 for VSCode and Atom was discovered to contain a command injection
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 score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 34.8% (top 2%) |
| CISA exploited list | No |
| Weakness | CWE-78 |
| Published | 2022-12-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- GitHub PoC: yuriisanin/CVE-2022-45025 (87 stars)
- Write-up: github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/639
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
- CVE-2025-65716 HIGH 8.8 DOWNGRADE An issue in Visual Studio Code Extensions Markdown Preview Enhanced v0.8.18 allows attackers to execute arbitr
- CVE-2022-45026 CRITICAL 9.8 DOWNGRADE DOWNGRADE An issue in Markdown Preview Enhanced v0.6.5 and v0.19.6 for VSCode and Atom allows attackers to execute arbit