Description
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.
Metrics
CVSS 3.1 9.6/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| MarkText | MarkText | <= 0.17.1 |
| marktext | marktext | <= 0.17.1 |
References
- https://github.com/marktext/marktext/issues/3618Exploit, Issue Tracking
- https://starlabs.sg/advisories/23/23-2318/Exploit, Third Party Advisory
- https://github.com/marktext/marktext/issues/3618Exploit, Issue Tracking
- https://starlabs.sg/advisories/23/23-2318/Exploit, Third Party Advisory
Timeline
- Published
- Aug 19, 2023
- Last modified
- Jun 17, 2026
- NVD status
- Modified