What’s Vulnerable › Vulnerabilities

CVE-2023-2317: Typora DOM-Based Cross-site Scripting leading to Remote Code Execution

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

How to fix

Upgrade to a fixed version: Typora 1.6.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-2317 or the next vulnerability affects your stack