{"schema":"threatline.record/2","record":{"id":"CVE-2026-54525","aliases":["GHSA-7v6f-3vq6-r373"],"summary":"Markdown Preview Enhanced: One Click RCE via Markdown Link Command Injection on Windows","details":"Markdown Preview Enhanced is a Markdown preview extension for Visual Studio Code. Prior to 0.8.28, Markdown Preview Enhanced preview-link handling passes a decoded, Markdown-controlled link target to a Windows file-opening helper that invokes child_process.exec with the start command. When a Windows user opens an untrusted Markdown file and clicks a crafted external or unsupported-scheme link, shell metacharacters in the decoded target are interpreted by cmd.exe as command separators, allowing an attacker-selected command to run with the privileges of the current VS Code user. The attack requires one normal preview-link click but does not require malicious workspace configuration, script execution to be enabled, or additional files. This issue is fixed in version 0.8.28.","categories":["Unclassified"],"product":"vscode-markdown-preview-enhanced","vendor":"shd101wyy","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-54525","source_modified_at":"2026-10-15T15:05:57.227Z","fetched_at":"2026-10-23T18:48:36.087640Z","product":"vscode-markdown-preview-enhanced","vendor":"shd101wyy","versions":[{"status":"affected","version":"< 0.8.28"}],"defaultStatus":null},{"source":"GitHub Advisory Database","source_url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-7v6f-3vq6-r373","source_modified_at":"2026-06-16T05:21:38Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"ecosystem":"","name":"shd101wyy/vscode-markdown-preview-enhanced"},"range":"<= 0.8.27"}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-7v6f-3vq6-r373","source_modified_at":"2026-06-16T05:21:38Z","fetched_at":"2026-10-23T19:58:35.668311Z","package":{"ecosystem":"","name":"shd101wyy/vscode-markdown-preview-enhanced"},"version":"0.8.28"}],"cvss":8.8,"severity":"High","kev":{"listed":false},"epss":{"probability":0.00429,"percentile":0.36077,"score_date":"2026-10-23"},"published_at":"2026-10-14T19:06:59.440Z","modified_at":"2026-10-15T15:05:57.227Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54525","fetched_at":"2026-10-23T18:48:36.087640Z","source_modified_at":"2026-10-15T15:05:57.227Z"},{"source":"GitHub Advisory Database","url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-7v6f-3vq6-r373","fetched_at":"2026-10-23T19:58:35.668311Z","source_modified_at":"2026-06-16T05:21:38Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54525","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/security/advisories/GHSA-7v6f-3vq6-r373","tags":["x_refsource_CONFIRM"]},{"source":"CVE List","url":"https://github.com/shd101wyy/crossnote/pull/442","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/pull/2318","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/shd101wyy/crossnote/commit/5588ca2121c3da43fe331575dc5cf4ef347b91ee","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/commit/dcd80281c986293b93d9f1af34ced64dcb230c77","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/shd101wyy/crossnote/releases/tag/0.9.29","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/shd101wyy/vscode-markdown-preview-enhanced/releases/tag/0.8.28","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total","assessed_at":"2026-10-15T13:53:20.006714Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T15:05:57.227Z","content_hash":"f0947f11cb3e023015d4cb492593d2bb080d801f408d754fde67841d281e1431"}}
