Home / Typora / Typora / CVE-2019-20374
CVE-2019-20374: is it exploited, and which versions of Typora are affected and fixed?
CVE-2019-20374 is a cross-site scripting (XSS) vulnerability in Typora. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:08 UTC). Affected: typora through 0.9.81 and typora through 0.9.9.31.2 (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.3, CVSS 3.0, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:17 UTC.
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.
From the CVE record by mitre, last updated August 5, 2024, 02:39 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| typora | typora | through 0.9.81 | application |
| typora | typora | through 0.9.9.31.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:30 UTC.
How severe is CVE-2019-20374?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.3 | CVSS 3.0 | CVSS:3.0/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R | mitre |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-20374 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.30% probability of exploitation activity in the next 30 days, percentile 83.8 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/typora/typora-issues/issues/3124 x_refsource_MISC
- https://github.com/cure53/DOMPurify/commit/4e8af7b2c4a159b683d317e02c5cbddb86dc4a0e x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 9, 2020
- Published
- January 9, 2020, 22:40 UTC
- CVE record updated
- August 5, 2024, 02:39 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:30 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:17 UTC; KEV December 3, 2026, 11:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Typora?
- Aug 31, 2026CVE-2026-82805 Typora: cross-site scripting (XSS)
- Dec 12, 2025CVE-2024-14010 Typora: OS command injection
- Aug 8, 2024CVE-2024-41482 Typora: cross-site scripting (XSS)
- Aug 8, 2024CVE-2024-41481 Typora: cross-site scripting (XSS)
- May 1, 2024CVE-2024-33300 Typora: cross-site scripting (XSS)
- Apr 16, 2024CVE-2024-31784 Typora: authentication bypass by spoofing
- Apr 16, 2024CVE-2024-31783 Typora: cross-site scripting (XSS)
- Oct 10, 2023CVE-2020-18336 Typora: cross-site scripting (XSS)
Questions about CVE-2019-20374
Is CVE-2019-20374 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:08 UTC. FIRST's EPSS gives it a 2.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Typora are affected by CVE-2019-20374?
typora through 0.9.81 and typora through 0.9.9.31.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2019-20374?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2019-20374?
High (8.3, CVSS 3.0, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2019-20374?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.