CVE-2019-20374

CRITICALCVSS 9.6/10EPSS 2.30%

Last modified

CVE-2019-20374 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 2.30% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
9.6/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

EPSS Probability
2.30%

81.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
TyporaTypora<= 0.9.81
TyporaTypora<= 0.9.9.31.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-20374?
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.
How severe is CVE-2019-20374?
CVE-2019-20374 has a CVSS score of 9.6/10 (CRITICAL severity). The EPSS model estimates a 2.30% probability of exploitation in the next 30 days.
How do I fix CVE-2019-20374?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-20374?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST