CVE-2023-2318 HIGH

CVE-2023-2318: MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution

Vendor Marktext
Product MarkText
Weakness CWE-79 · XSS
Published August 19, 2023
Last update October 7, 2024

CVSS base score

8.6/10
Attack vector Local
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 19, 2023 CVE published
October 7, 2024 Record updated