A mutation cross-site scripting (XSS) issue in Typora through 0.9.9.31.2 on macOS and through 0.9.81 on Linux leads to Remote Code Execution through Mermaid code blocks. To exploit this vulnerability, one must open a file in Typora. The XSS vulnerability is then triggered due to improper HTML sanitization. Given that the application is based on the Electron framework, the XSS leads to remote code execution in an unsandboxed environment.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-01-09T22:40:29

Updated: 2024-08-05T02:39:09.856Z

Reserved: 2020-01-09T00:00:00

Link: CVE-2019-20374

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2020-01-09T23:15:10.367

Modified: 2021-09-08T17:22:35.843

Link: CVE-2019-20374

cve-icon Redhat

No data.