CVE-2023-2317
Typora DOM-Based Cross-site Scripting leading to Remote Code Execution
- State
- Published
- Severity
- 8.6 High
- Published
- Aug 19, 2023
- Updated
- Oct 7, 2024
- Reserved
- Apr 27, 2023
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | STAR_Labs |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
TyporaTypora |
|
References
- https://support.typora.io/What's-New-1.6/release-notes
- https://starlabs.sg/advisories/23/23-2317/third-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.