PT-2023-18872 · Marktext · Marktext
Cursered
+1
·
Published
2023-08-18
·
Updated
2024-01-25
·
CVE-2023-2318
CVSS v3.1
9.6
Critical
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
MarkText versions 0.17.1 and before
Description
The issue is a DOM-based XSS that allows arbitrary JavaScript code to run in the context of the MarkText main window. This can be exploited if a user copies text from a malicious webpage and pastes it into MarkText. The vulnerability is located in the src/muya/lib/contentState/pasteCtrl.js file.
Recommendations
For MarkText versions 0.17.1 and before, consider disabling the paste functionality in the
pasteCtrl.js file as a temporary workaround until a patch is available. Restrict access to the contentState module to minimize the risk of exploitation. Avoid using the MarkText application to paste content from untrusted sources until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Marktext