{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54701","published":"2026-10-14T20:17:47.580000Z","last_modified":"2026-10-20T03:17:15.347000Z","status":"Awaiting Analysis","cvss":{"version":"4.0","score":6.9,"severity":"MEDIUM","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["shd101wyy"],"products":["shd101wyy/vscode-markdown-preview-enhanced"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2026-54701/","html_en":"/en/cve/CVE-2026-54701/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54701","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54701"},"untrusted":{"vendor_name":"shd101wyy","product_name":"vscode-markdown-preview-enhanced","desc_en":"Markdown Preview Enhanced is a Markdown preview extension for Visual Studio Code. Prior to 0.8.30, Markdown Preview Enhanced reads repository-controlled .crossnote/head.html content and passes it through resolvePathsInHeader before inserting it into the head of the preview webview document without removing executable content. Script-capable markup executes while the document loads, before the React application and DOMPurify initialize, and can access acquireVsCodeApi to send messages from the webview to the extension host. Opening a Markdown preview in a malicious repository is sufficient to trigger the injected content, and no additional click within the notification or preview is required. This issue is fixed in version 0.8.30.","affected":[{"untrusted_vendor":"shd101wyy","untrusted_product":"vscode-markdown-preview-enhanced","versions":[]}],"references":[{"url":"https://github.com/shd101wyy/crossnote/commit/8c55a2ba3365712a1caa4abeece0383bc2994d48","tags":[]},{"url":"https://github.com/shd101wyy/crossnote/pull/444","tags":[]},{"url":"https://github.com/shd101wyy/crossnote/releases/tag/0.9.31","tags":[]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/8bc848b6cbb42b9f35a0f95f7c3bf29b8302970e","tags":[]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/pull/2323","tags":[]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.30","tags":[]},{"url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-mcwg-4j78-qwv3","tags":[]}]}}