SecurityContext

CVE-2022-45026: Markdown Preview Enhanced - Command Injection

  • Cve: CVE-2022-45026
  • Name: Markdown Preview Enhanced - Command Injection
  • Description: An issue in Markdown Preview Enhanced v0.6.5 and v0.19.6 for VSCode and Atom allows attackers to execute arbitrary commands during the GFM export process.
  • Impact: Attackers can execute arbitrary commands on the system, potentially leading to full system compromise.
  • Remediation: Update to the latest version of Markdown Preview Enhanced.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker needs victim to open malicious markdown files
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01029
  • Epss percentile: 0.64364
  • Assignee: [email protected]
  • Published at: 2022-12-07T02:15:10Z
  • Age in days: 1448
  • Modified at: 2026-06-17T05:09:11Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-45026
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/640nvd2022-12-07

References

UrlSourceTags
https://github.com/shd101wyy/vscode-markdown-preview-enhanced/issues/640nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
markdown_preview_enhanced_project:markdown_preview_enhanced= 0.19.6, = 0.6.5nonvd/v1/products/markdown_preview_enhanced_project/markdown_preview_enhanced

Projects

RepositoryLink kindsIndexedUrl
shd101wyy/vscode-markdown-preview-enhancedissuesyes/v1/repositories/shd101wyy/vscode-markdown-preview-enhanced

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-12-07
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts