Every CVE Search/ Get API key

CVE-2022-24123

MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This...

9.0 Critical

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

1.94%Up 0.3 points since Feb 8, 2022
90%50%10%1%

What each source reports

NVD Score used 9.0

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.

Record
CVE-2022-24123
CVSS 3.1
9.0 CriticalCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-24123
Updated
2026-11-02
EUVDEUVD-2022-29035 No score

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.

Record
EUVD-2022-29035
Updated
2026-11-03
GitHub AdvisoriesGHSA-wfqr-2wcw-6gjv No score

MarkText through 0.16.3 does not sanitize the input of a mermaid block before rendering. This...

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.

Record
GHSA-wfqr-2wcw-6gjv
Weakness
CWE-79
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-24123
Updated
2026-11-02

Affected products

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-24123 is a critical vulnerability (CVSS 9.0) in Marktext, published January 29, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.94%, the 80th percentile. No source names a fixed version.

References

MoveEnter Open