{"id":"CVE-2023-2317","aliases":["CVE-2023-2317"],"related":[],"kind":"vulnerability","state":"published","title":"Typora DOM-Based Cross-site Scripting leading to Remote Code Execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2023-08-19T05:35:36.603Z","modified":"2026-06-17T05:52:16.200Z","severity":{"scorer":"STAR_Labs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"STAR_Labs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"1.6.7","status":"affected"}],"vendor":"Typora","product":"Typora","platforms":["Windows","Linux"],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.6.7","status":"affected"}],"vendor":"typora","product":"typora","cpe":"cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.6.7"}],"vendor":"typora","product":"typora","cpe":"cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://support.typora.io/What's-New-1.6/","tags":["release-notes","vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://starlabs.sg/advisories/23/23-2317/","tags":["exploit","mitigation","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Li Jiantao (@CurseRed) of STAR Labs SG Pte. Ltd. (@starlabs_sg)"],"assigner":"STAR_Labs","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2024-10-07T19:57:21.636Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2317","url":"https://www.cve.org/CVERecord?id=CVE-2023-2317","licence":"CVE Terms of Use","modified":"2024-10-07T19:57:59.068Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2317","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2317","licence":"Public domain","modified":"2026-06-17T05:52:16.200Z"}],"updatedAt":"2026-11-25T22:58:27.257Z","epss":{"score":0.02559,"percentile":0.8585,"date":"2026-11-30T12:00:22.000Z"}}