What’s Vulnerable › Vulnerabilities
CVE-2023-2317: Typora DOM-Based Cross-site Scripting leading to Remote Code Execution
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-08-19 · updated 2026-06-17
- Weakness: CWE-79
Description
DOM-based XSS in updater/update.html in Typora before 1.6.7 on Windows and Linux allows a crafted markdown file to run arbitrary JavaScript code in the context of Typora main window via loading typora://app/typemark/updater/update.html in <embed> tag. This vulnerability can be exploited if a user opens a malicious markdown file in Typora, or copies text from a malicious webpage and paste it into Typora.
Affected products
- Typora: before 1.6.7 — fixed in 1.6.7
How to fix
Upgrade to a fixed version: Typora 1.6.7. Check the vendor advisory for mitigations.
References
- https://starlabs.sg/advisories/23/23-2317/
- https://support.typora.io/What's-New-1.6/
- https://starlabs.sg/advisories/23/23-2317/
- https://support.typora.io/What's-New-1.6/
Get alerted when CVE-2023-2317 or the next vulnerability affects your stack