A mutation cross-site scripting (XSS) issue in Typora through 0.9.9.31.2 on macOS and…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 4
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:* | up to 0.9.81 | Vulnerable | Typora |
| cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Linux |
| cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:* | up to 0.9.9.31.2 | Vulnerable | Typora |
| cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Apple |
- cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:* Versions up to 0.9.81 Vulnerable ·Typora
- cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Linux
- cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:* Versions up to 0.9.9.31.2 Vulnerable ·Typora
- cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Apple
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2019-20374
- 2026-10-03 Alias added: GHSA-6r2r-v362-h96w
References
More Typora vulnerabilities
- TI-2023-02173 Typora DOM-Based Cross-site Scripting leading to Remote Code Execution CVSS 3.1CRITICAL 9.6
- TI-2023-02172 Typora Local File Disclosure CVSS 3.1HIGH 7.4
- TI-2020-13372 Cross Site Scripting (XSS) vulnerability found in Typora v.0.9.65 allows a remote… CVSS 3.1HIGH 7.4
- TI-2024-22009 Typora v1.0.0 through v1.7 version (below) Markdown editor has a cross-site scripting… CVSS 3.1HIGH 7.3
- TI-2023-02783 Typora Local File Disclosure CVSS 3.1MEDIUM 6.5
- TI-2024-20929 An issue in Typora v.1.8.10 and before, allows a local attacker to obtain sensitive… CVSS 3.1MEDIUM 6.1
Sources
- CVE-2019-20374 · CVE Program
- CVE-2019-20374 · NVD
- FIRST EPSS
- GHSA-6r2r-v362-h96w · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences