Live threats

All CVEs / Marktext

CVE-2023-2318Marktext

Critical 9.6 No auth needed

Priority
73
CVSS 3.1
9.6
EPSS
0.7%
probability of exploitation in 30 days · percentile 47
Auth required
No
Published
Aug 19, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Marktext.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
marktextmarktext≤ 0.17.1

Official sources

References

Links published by the sources. Open them with care.