What’s Vulnerable › Vulnerabilities
CVE-2023-2318: MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-08-19 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
- MarkText: through 0.17.1
References
- https://github.com/marktext/marktext/issues/3618
- https://starlabs.sg/advisories/23/23-2318/
- https://github.com/marktext/marktext/issues/3618
- https://starlabs.sg/advisories/23/23-2318/
Get alerted when CVE-2023-2318 or the next vulnerability affects your stack