CVE-2023-2317 in Typora and 2 more products
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 m...
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Typora | Typora | < 1.6.7 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Linux Linux Kernel, Microsoft Windows
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2023-2317 |
|---|---|
| BreachSpider ID | BS-2023-GLOBAL-350870-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Published | 2023-08-19 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
CAPEC-592 Stored XSS via CWE-79
Show all 6
CAPEC-63 Cross-Site Scripting (XSS) via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A DOM-based XSS vulnerability in Typora before version 1.6.7 on Windows and Linux allows a crafted markdown file to execute arbitrary JavaScript code in the context of the Typora main window.
The vulnerability can be exploited by opening a malicious markdown file in Typora or by copying text from a malicious webpage and pasting it into Typora. The attack vector involves loading typora://app/typemark/updater/update.html in an <embed> tag.
Questions
What is CVE-2023-2317?
A DOM-based XSS vulnerability in Typora before version 1.6.7 on Windows and Linux allows a crafted markdown file to execute arbitrary JavaScript code in the context of the Typora main window.
What is the CVSS score for CVE-2023-2317?
CVE-2023-2317 has CVSS 9.6 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H. EPSS: 2.6%.
Is CVE-2023-2317 actively exploited?
No confirmed active exploitation of CVE-2023-2317 as of 2026-05-30.
How do I remediate CVE-2023-2317?
Priority: IMMEDIATE. Advisory: https://support.typora.io/What's-New-1.6/ PSIRT: [email protected]
What systems are affected by CVE-2023-2317?
CVE-2023-2317 affects Typora Typora.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Typora","product":"Typora","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.