{"id":"CVE-2023-2317","aliases":["EUVD-2023-33821","GHSA-vwv2-9jpv-577p"],"status":"published","title":"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 \u003cembed\u003e 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.","severity":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.02442,"percentile":0.84528,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2023-08-19T05:35:36Z","modified":"2026-06-17T05:52:16Z","products":[{"vendor":"typora","product":"typora"},{"vendor":"unknown","product":"typora"}],"references":[{"url":"https://support.typora.io/What's-New-1.6/","tags":["release-notes","x_transferred","Vendor Advisory"]},{"url":"https://starlabs.sg/advisories/23/23-2317/","tags":["third-party-advisory","x_transferred","Exploit","Mitigation","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2317"},{"url":"https://starlabs.sg/advisories/23/23-2317"},{"url":"https://support.typora.io/What's-New-1.6"},{"url":"https://github.com/advisories/GHSA-vwv2-9jpv-577p"}],"sources":{"cve":[{"id":"CVE-2023-2317","title":"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 \u003cembed\u003e 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.","status":"published","published":"2023-08-19T05:35:36.603Z","modified":"2024-10-07T19:57:59.068Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:24.360381Z"}],"euvd":[{"id":"EUVD-2023-33821","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 \u003cembed\u003e 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.","status":"published","published":"2023-08-19T05:35:36Z","modified":"2024-10-07T19:57:59Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-03T00:27:46.330731Z"}],"ghsa":[{"id":"GHSA-vwv2-9jpv-577p","title":"DOM-based XSS in updater/update.html in Typora before 1.6.7 on Windows and Linux allows a crafted...","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 \u003cembed\u003e 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.","status":"published","published":"2023-08-19T06:30:25Z","modified":"2024-04-04T07:03:34Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:56:48.229282Z"}],"nvd":[{"id":"CVE-2023-2317","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 \u003cembed\u003e 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.","status":"published","published":"2023-08-19T06:15:46.687Z","modified":"2026-06-17T05:52:16.2Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"high","assessor":"secondary"},{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:08:24.487686Z"}]}}
