CVE-2026-54525Shd101wyy Vscode-markdown-preview-enhanced OS command injection
CVSS score
8.8
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.43%
0.43% chance of exploitation in the next 30 days, higher than 37.9% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official description
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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running shd101wyy Vscode-markdown-preview-enhanced and compare its version with the affected versions.
Update to a fixed version
- Update Vscode-markdown-preview-enhanced to 0.8.28 or later.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| shd101wyy Vscode-markdown-preview-enhanced | < 0.8.28 |
Weakness
- CWE-78 OS command injection
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-54525 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-54525?
CVE-2026-54525 has a CVSS 3.1 base score of 8.8 (high).
Which versions are affected?
Shd101wyy Vscode-markdown-preview-enhanced (< 0.8.28)
Is there a patch for CVE-2026-54525?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4ef347b91ee
- github.com/shd101wyy/crossnote/pull/442
- github.com/shd101wyy/crossnote/releases/tag/0.9.29
- github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281c986293b93d9f1af34ced64dcb230c77
- github.com/shd101wyy/vscode-markdown-preview-enhanced/pull/2318
- github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28
- github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-7v6f-3vq6-r373
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.