PT-2026-114206
CVE-2026-54703
·
Published
2026-10-14
·
Updated
2026-10-14
Description by
CVSS 4.0
5.8
MediumMetricsAV:L/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/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
Name of the Vulnerable Software and Affected Versions
Markdown Preview Enhanced versions prior to 0.8.30
Description
The
crossnote.updateMarkdown command accepts an arbitrary URI and attacker-controlled content, passing them to the vscode.workspace.fs.writeFile function without validating if the target is the Markdown file associated with the current preview. JavaScript executing within the preview webview can trigger this command via the extension message bridge to write any file allowed by the operating system privileges of the user, such as startup, source, build, or configuration files. This issue requires a separate JavaScript execution path in the webview to be exploited.Recommendations
Update to version 0.8.30.
Found an issue in the description? Have something to add? Feel free to write us 👾