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 |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-01-29T22:53:16
Updated: 2022-01-29T22:53:16
Reserved: 2022-01-29T00:00:00
Link: CVE-2022-24123
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-01-29T23:15:07.497
Modified: 2022-02-04T15:55:17.040
Link: CVE-2022-24123
JSON object: View
Redhat Information
No data.
CWE