CVE-2019-20374

State
Published
Severity
8.3 High
Published
Jan 9, 2020
Updated
Aug 5, 2024
Reserved
Jan 9, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.08.3 HighCVSS:3.0/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:Rmitre

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
n/an/a
  • n/aAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.