CVE-2019-20374
CVSS V2 Medium 6.8
CVSS V3 Critical 9.6
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.
Overview
- CVE ID
- CVE-2019-20374
- Assigner
- cve@mitre.org
- Vulnerability Status
- Analyzed
- Published Version
- 2020-01-09T23:15:10
- Last Modified Date
- 2021-09-08T17:22:35
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
AND | ||||
cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:* | 1 | OR | 0.9.81 | |
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* | 0 | OR | ||
AND | ||||
cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:* | 1 | OR | 0.9.9.31.2 | |
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* | 0 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 6.8
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 9.6
- Base Severity
- CRITICAL
- Exploitability Score
- 2.8
- Impact Score
- 6
References
Reference URL | Reference Tags |
---|---|
https://github.com/cure53/DOMPurify/commit/4e8af7b2c4a159b683d317e02c5cbddb86dc4a0e | Patch Third Party Advisory |
https://github.com/typora/typora-issues/issues/3124 | Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2019-20374 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20374 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:06:54 | Added to TrackCVE | |||
2022-12-04 09:15:29 | 2020-01-09T23:15Z | 2020-01-09T23:15:10 | CVE Published Date | updated |
2022-12-04 09:15:29 | 2021-09-08T17:22:35 | CVE Modified Date | updated | |
2022-12-04 09:15:29 | Analyzed | Vulnerability Status | updated |