CVE-2023-2318
MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution
- State
- Published
- Severity
- 8.6 High
- Published
- Aug 19, 2023
- Updated
- Oct 7, 2024
- Reserved
- Apr 27, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | STAR_Labs |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
MarkTextMarkText |
|
References
- https://github.com/marktext/marktext/issues/3618issue-tracking
- https://starlabs.sg/advisories/23/23-2318/third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.