CVE-2019-20374: XSS

Published Jan 9, 2020
·
Updated

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.

Affected Software

4 affected components
Typora Typora<=0.9.81
Linux Linux kernel
Typora Typora<=0.9.9.31.2
Apple macOS

Event History

Jan 9, 2020
CVE Published
via MITRE·10:40 PM
Data Sourced
via MITRE·10:40 PM
DescriptionSeverity

Frequently Asked Questions

1

What is CVE-2019-20374?

CVE-2019-20374 is a mutation cross-site scripting (XSS) issue in Typora through version 0.9.9.31.2 on macOS and version 0.9.81 on Linux, leading to Remote Code Execution through Mermaid code blocks.

2

How does CVE-2019-20374 vulnerability occur?

The vulnerability occurs when a file is opened in Typora, triggering the XSS vulnerability due to improper HTML sanitization.

3

What is the severity of CVE-2019-20374?

CVE-2019-20374 has a severity rating of 9.6, which is classified as critical.

4

What is the affected software for CVE-2019-20374?

The affected software for CVE-2019-20374 is Typora versions up to 0.9.9.31.2 on macOS and up to 0.9.81 on Linux.

5

How can I fix CVE-2019-20374?

To fix CVE-2019-20374, users should update to the latest version of Typora that includes the fix for the XSS vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203