DOM-based XSS in pasteCtrl.js in MarkText 0.17.1 and earlier versions allows arbitrary code execution in MarkText main window

DOM-based XSS in pasteCtrl.js in MarkText 0.17.1 and earlier versions allows arbitrary code execution in MarkText main window

CVE-2023-2318 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

DOM-based XSS in src/muya/lib/contentState/pasteCtrl.js in MarkText 0.17.1 and before on Windows, Linux and macOS allows arbitrary JavaScript code to run in the context of MarkText main window. This vulnerability can be exploited if a user copies text from a malicious webpage and paste it into MarkText.

Learn more about our Cis Benchmark Audit For Apple Macos.