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.
- https://github.com/marktext/marktext/issues/3618
- https://starlabs.sg/advisories/23/23-2318/
No PoCs found on GitHub currently.