CVE-2023-53940 Codigo Markdown Editor 1.0.1 Electron Arbitrary Code Execution via Markdown File
Attackers can execute arbitrary system commands by tricking users into opening a malicious markdown file in Codigo Markdown Editor.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-53940?
CVE-2023-53940 is a high-severity code injection vulnerability in Alfonzm Codigo Markdown Editor, published on 18 Dec 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Codigo Markdown Editor 1.0.1 contains a code execution vulnerability that allows attackers to run arbitrary system commands by crafting a malicious markdown file. Attackers can embed a video source with an onerror event that executes shell commands through Node.js child_process module when the file is opened.
Weakness: CWE-94
Which versions are affected by CVE-2023-53940?
How do I fix CVE-2023-53940?
No fix has been published for CVE-2023-53940 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-2023-53940 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-53940 exists.
Sources
Also known as GHSA-mm7x-g274-jqhp.