Vulnerability · Published Aug 19, 2023 · Assigned by STAR_Labs
CVE-2023-2318MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution
High 8.6
In plain English
A high-severity cross-site scripting in MarkText from MarkText. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities).
Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.5%top 54.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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 (as reported)
Weakness: CWE-79 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
References
- https://github.com/marktext/marktext/issues/3618 issue-tracking
- https://starlabs.sg/advisories/23/23-2318/ third-party-advisory