CVE-2023-2317: Typora - Stored XSS
- Cve: CVE-2023-2317
- Name: Typora - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary JavaScript in Typora, potentially leading to data theft, session hijacking, or further system compromise.
- Remediation: Update to version 1.6.7 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: User opens malicious markdown file or pastes malicious content
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.6
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- Epss score: 0.02442
- Epss percentile: 0.84728
- Assignee: [email protected]
- Published at: 2023-08-19T06:15:46Z
- Age in days: 1193
- Modified at: 2026-06-17T05:52:16Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-2317
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://starlabs.sg/advisories/23/23-2317/ | nvd | 2023-08-19 |
References
| Url | Source | Tags |
|---|---|---|
| https://support.typora.io/What's-New-1.6/ | nvd | Vendor Advisory |
| https://starlabs.sg/advisories/23/23-2317/ | nvd | Exploit, Mitigation, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| typora:typora | < 1.6.7 | yes | nvd | /v1/products/typora/typora |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-08-19
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts