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
Information
Published : 2022-01-29 15:15
Updated : 2022-02-04 07:55
NVD link : CVE-2022-24123
Mitre link : CVE-2022-24123
JSON object : View
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Products Affected
marktext
- marktext