CVE-2022-24123Marktext
Critical 9.0
Follow: this CVE · Marktext · Marktext We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Marktext.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| marktext | marktext | ≤ 0.16.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- github.com Patch Third Party Advisory