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

04 Feb 2022, 15:55

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 6.8
v3 : 9.0
References (MISC) https://github.com/marktext/marktext/issues/2946 - (MISC) https://github.com/marktext/marktext/issues/2946 - Exploit, Issue Tracking, Patch, Third Party Advisory
References (MISC) https://github.com/marktext/marktext/pull/2947 - (MISC) https://github.com/marktext/marktext/pull/2947 - Patch, Third Party Advisory
CPE cpe:2.3:a:marktext:marktext:*:*:*:*:*:*:*:*
First Time Marktext marktext
Marktext
CWE CWE-79

29 Jan 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-01-29 23:15

Updated : 2023-12-10 14:09


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')