CVE-2022-24123

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.
References
Link Resource
https://github.com/marktext/marktext/issues/2946 Exploit Issue Tracking Patch Third Party Advisory
https://github.com/marktext/marktext/pull/2947 Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*

History

No history.

Information

Published : 2022-01-29 23:15

Updated : 2024-02-28 18:48


NVD link : CVE-2022-24123

Mitre link : CVE-2022-24123

CVE.ORG link : CVE-2022-24123


JSON object : View

Products Affected

marktext

  • marktext
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')