Vulnerability · Published Aug 19, 2023 · Assigned by STAR_Labs

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

High 8.6

In plain English

A high-severity cross-site scripting in Typora from Typora. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.4% (higher than 84% of all known vulnerabilities).

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)2.4%top 15.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
Typora Typora 0 – before 1.6.7

Weakness: CWE-79 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References