Marktext · Marktext · CVE-2022-24123
**Name of the Vulnerable Software and Affected Versions**
MarkText versions 0.16.3 and earlier
**Description**
The issue arises from the lack of input sanitization in mermaid blocks before rendering, potentially leading to Remote Code Execution via a .md file containing a mutation Cross-Site Scripting (XSS) payload.
**Recommendations**
For MarkText versions 0.16.3 and earlier, consider disabling the rendering of mermaid blocks until a patch is available to prevent potential Remote Code Execution attacks.
At the moment, there is no information about a newer version that contains a fix for this vulnerability.