CVE-2019-20374
Last modified
CVE-2019-20374 is a critical-severity vulnerability rated 9.6/10 on the CVSS scale. 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. EPSS estimates a 2.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Typora | Typora | <= 0.9.81 |
| Typora | Typora | <= 0.9.9.31.2 |
References
- https://github.com/cure53/DOMPurify/commit/4e8af7b2c4a159b683d317e02c5cbddb86dc4a0ePatch, Third Party Advisory
- https://github.com/typora/typora-issues/issues/3124Third Party Advisory
- https://github.com/cure53/DOMPurify/commit/4e8af7b2c4a159b683d317e02c5cbddb86dc4a0ePatch, Third Party Advisory
- https://github.com/typora/typora-issues/issues/3124Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-20374?
How severe is CVE-2019-20374?
How do I fix CVE-2019-20374?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2019
- CVE-2019-20365An XSS issue was discovered in Ignite Realtime Openfire 4.4.…6.1
- CVE-2019-20366An XSS issue was discovered in Ignite Realtime Openfire 4.4.…6.1
- CVE-2019-20367nlist.c in libbsd before 0.10.0 has an out-of-bounds read du…9.1
- CVE-2019-2037In l2cu_send_peer_config_rej of l2c_utils.cc, there is a pos…
- CVE-2019-20372NGINX before 1.17.7, with certain error_page configurations,…5.3
- CVE-2019-20373LTSP LDM through 2.18.06 allows fat-client root access becau…7.8
- CVE-2019-20375A cross-site scripting (XSS) vulnerability in Electronic Log…6.1
- CVE-2019-20376A cross-site scripting (XSS) vulnerability in Electronic Log…6.1
- CVE-2019-20377TopList before 2019-09-03 allows XSS via a title.6.1
- CVE-2019-20378ganglia-web (aka Ganglia Web Frontend) through 3.7.5 allows …6.1
- CVE-2019-20379ganglia-web (aka Ganglia Web Frontend) through 3.7.5 allows …6.1
- CVE-2019-2038In rw_i93_process_sys_info of rw_i93.cc, there is a possible…
Are you affected by CVE-2019-20374?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
