Code execution via unsanitized Markdown event handlers
Published Dec 18, 2025 · Updated Dec 18, 2025
Code injection in Codigo Markdown Editor 1.0.1 allows attackers to run system commands by opening a crafted Markdown file. A video-source onerror handler executes attacker-controlled JavaScript and passes its command to Node.js child_process. Exploitation requires a user to open the malicious file, after which commands run with the editor process's operating-system privileges.
Summary
What happened
Code injection in Codigo Markdown Editor 1.0.1 allows attackers to run system commands by opening a crafted Markdown file. A video-source onerror handler executes attacker-controlled JavaScript and passes its command to Node.js child_process. Exploitation requires a user to open the malicious file, after which commands run with the editor process's operating-system privileges.
The record
- CVE
- CVE-2023-53940
- Published
- Dec 18, 2025
- Updated
- Dec 18, 2025
- Vendor
- Alfonz Montelibano
- Product
- Codigo Markdown Editor
- Classifications
- CWE-94, T1204.002
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 18, 2025CVE publishedPublication date reported by the CVE source.
- Dec 18, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Codigo Markdown Editor v1.0.1 Electron arbitrary code execution proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo