MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering.
Priority MEDIUM 43CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
EPSS 0.01945 80th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-24123
- 2026-10-03 Alias added: GHSA-wfqr-2wcw-6gjv
References
More Marktext vulnerabilities
- TI-2023-02174 MarkText DOM-Based Cross-site Scripting leading to Remote Code Execution CVSS 3.1CRITICAL 9.6
- TI-2023-00951 MarkText WSH JScript code injection CVSS 3.1HIGH 7.8
- TI-2021-10612 Mark Text through 0.16.3 allows attackers arbitrary command execution. CVSS 3.1CRITICAL 9.6
- TI-2022-08820 Mark Text v0.16.3 was discovered to contain a DOM-based cross-site scripting (XSS)… CVSS 3.1CRITICAL 9.6
- TI-2020-16518 Mutation XSS exists in Mark Text through 0.16.2 that leads to Remote Code Execution. CVSS 3.1CRITICAL 9.6
- TI-2022-05560 Cross-site scripting in MarkText CVSS 3.1MEDIUM 5.4
Sources
- CVE-2022-24123 · CVE Program
- CVE-2022-24123 · NVD
- FIRST EPSS
- GHSA-wfqr-2wcw-6gjv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences