CVE-2025-65716 Code injection in n/a
Attackers can execute arbitrary code by tricking users into opening a crafted Markdown file in the Markdown Preview Enhanced extension.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-65716?
CVE-2025-65716 is a high-severity code injection vulnerability in n/a, published on 16 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
An issue in Visual Studio Code Extensions Markdown Preview Enhanced v0.8.18 allows attackers to execute arbitrary code via uploading a crafted .Md file.
Weakness: CWE-94
Which versions are affected by CVE-2025-65716?
It affects 1 product.
Products include Shd101wyy Markdown Preview Enhanced.
How do I fix CVE-2025-65716?
No fix has been published for CVE-2025-65716 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-65716 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65716 exists.
Sources
Also known as GHSA-5cph-5v9q-vh7g.