Read the docs
TI-2022-08068 Aliases CVE-2022-24123GHSA-wfqr-2wcw-6gjv

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

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*up to 0.16.3VulnerableMarkText
  • cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:* Versions up to 0.16.3 Vulnerable ·MarkText

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-24123
  2. 2026-10-03 Alias added: GHSA-wfqr-2wcw-6gjv

References

  • 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