{"id":"CVE-2023-53940","summary":"Codigo Markdown Editor 1.0.1 Electron Arbitrary Code Execution via Markdown File","details":"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.","modified":"2026-07-15T01:48:57.671932337Z","published":"2025-12-18T19:57:44.987Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53940.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53940.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53940"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/codigo-markdown-editor-electron-arbitrary-code-execution-via-markdown-file"},{"type":"PACKAGE","url":"https://github.com/alfonzm/codigo-app"},{"type":"EVIDENCE","url":"https://www.exploit-db.com/exploits/51432"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/alfonzm/codigo-app","events":[{"introduced":"c2eebc79d66f3128196592ba5d49e5d1cd606f71"},{"last_affected":"c2eebc79d66f3128196592ba5d49e5d1cd606f71"}],"database_specific":{"extracted_events":[{"introduced":"1.0.1"},{"last_affected":"1.0.1"}],"source":"AFFECTED_FIELD"}}],"versions":["1.0.1","v1.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53940.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}