Vulnerability

CVE-2019-20374

criticalCVSS 3.1 9.6Published 9 Jan 2020

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Apple macos
  • Linux linux kernel
  • Typora typora

Weakness type

References

  • github.com /cure53/DOMPurify/commit/4e8af7b2c4a159b683d317e02c5cbddb86…
  • github.com /typora/typora-issues/issues/3124

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning