Remote Code Execution via Unsanitized Mermaid Block Rendering in MarkText

Remote Code Execution via Unsanitized Mermaid Block Rendering in MarkText

CVE-2022-24123 · CRITICAL Severity

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

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.

Learn more about our Web Application Penetration Testing UK.