CVE-2022-24123: Marktext

Critical severity, CVSS 9.0. EPSS: 1.9% chance of exploitation in the next 30 days.

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.

Affected products

  • Marktext Marktext: up to and including 0.16.3

Published 2022-01-29. Last modified 2026-06-17.