CVE-2026-54525: high-severity vulnerability in shd101wyy vscode-markdown-preview-enhanced
Markdown Preview Enhanced: One Click RCE via Markdown Link Command Injection on Windows
Published · Updated
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.8epss 0.4%
exploitation probability
0.4%top 64% of all CVEs
observed exploitation
nono source reports it
Markdown Preview Enhanced is a Markdown preview extension for Visual Studio Code. Prior to 0.8.28, Markdown Preview Enhanced preview-link handling passes a decoded, Markdown-controlled link target to a Windows file-opening helper that invokes child_process.exec with the start command. When a Windows user opens an untrusted Markdown file and clicks a crafted external or unsupported-scheme link, shell metacharacters in the decoded target are interpreted by cmd.exe as command separators, allowing an attacker-selected command to run with the privileges of the current VS Code user. The attack requires one normal preview-link click but does not require malicious workspace configuration, script execution to be enabled, or additional files. This issue is fixed in version 0.8.28.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
shd101wyy · vscode-markdown-preview-enhancedRelated CVEs — shd101wyy vscode-markdown-preview-enhanced
In the same product, most dangerous first.
CVE-2026-54566HIGHMarkdown Preview Enhanced: Remote Code Execution via VM Sandbox Escape in `.crossnote/config.js` and `.crossnote/parser.js`EPSS 0.3%CVE-2026-54702HIGHMarkdown Preview Enhanced: Blind Command Dispatch via Unvalidated Webview Message HandlerEPSS 0.2%CVE-2026-54703MEDIUMMarkdown Preview Enhanced: Arbitrary File Write via updateMarkdown Command Without Path ValidationEPSS 0.2%CVE-2026-54701MEDIUMMarkdown Preview Enhanced: Stored XSS via Unsanitized `.crossnote/head.html` Injection in WebviewEPSS 0.2%
References
https://github.com/shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4ef347b91eehttps://github.com/shd101wyy/crossnote/pull/442https://github.com/shd101wyy/crossnote/releases/tag/0.9.29https://github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281c986293b93d9f1af34ced64dcb230c77https://github.com/shd101wyy/vscode-markdown-preview-enhanced/pull/2318https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-7v6f-3vq6-r373