Live threats

All CVEs / Marktext

CVE-2022-24123Marktext

Critical 9.0

Priority
54
CVSS 3.1
9.0
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
Yes
Published
Jan 29, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

What happens

MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This could lead to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.

Original NVD text.

What to do

  1. Apply the vendor's security update for Marktext.

Affected products (CPE)

VendorProductVersions
marktextmarktext≤ 0.16.3

Official sources

References

Links published by the sources. Open them with care.