Live threats

All CVEs / Typora

CVE-2019-20374Typora

Critical 9.6 No auth needed

Priority
73
CVSS 3.1
9.6
EPSS
2.3%
probability of exploitation in 30 days · percentile 84
Auth required
No
Published
Jan 9, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Typora.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
typoratypora≤ 0.9.81
typoratypora≤ 0.9.9.31.2

Official sources

References

Links published by the sources. Open them with care.