XSS in Typora
CVE-2023-2317
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.024, 84.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Typora — versions 0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (d4n-sec/d4n-sec.github.io). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- support.typora.io/What's-New-1.6/ (release-notes, Vendor Advisory)
- starlabs.sg/advisories/23/23-2317/ (Exploit, Third Party Advisory, Mitigation, third-party-advisory)