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

- Severity: High 8.6 (CVSS:3.1, scored by STAR_Labs) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.56%, higher than 86% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-19T05:35:36.603Z
- Modified: 2026-06-17T05:52:16.200Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: STAR_Labs

## 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.

(As written by CVE List.)

## Affected

- Typora Typora: before 1.6.7

## Every score

- STAR_Labs: CVSS:3.1 8.6 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.6 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`

## References

- <https://starlabs.sg/advisories/23/23-2317/> (exploit, mitigation, third-party-advisory)
- <https://support.typora.io/What's-New-1.6/> (release-notes, vendor-advisory)

## Sources

- CVE List: [CVE-2023-2317](https://www.cve.org/CVERecord?id=CVE-2023-2317), CVE Terms of Use, modified 2024-10-07
- NVD: [CVE-2023-2317](https://nvd.nist.gov/vuln/detail/CVE-2023-2317), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2317 · Whole record: https://cve.day/CVE-2023-2317.json · Rebuilt by cve.day 2026-11-25T22:58:27.257Z
