{"id":"CVE-2023-2971","state":"PUBLISHED","title":"Typora Local File Disclosure","description":"Improper path handling in Typora before 1.7.0-dev on Windows and Linux allows a crafted webpage to access local files and exfiltrate them to remote web servers via \"typora://app/typemark/\". 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.","publishedAt":"2023-08-19T05:45:35.025Z","updatedAt":"2024-10-07T19:54:42.467Z","severity":{"score":6.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","source":"STAR_Labs"},"assigner":"STAR_Labs","products":["Typora Typora"],"affected":[{"vendor":"Typora","product":"Typora","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.7.0-dev","versionType":"custom"}],"platforms":["Windows","Linux"]}],"references":["https://starlabs.sg/advisories/23/23-2971/"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:05:52.290Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/2xxx/CVE-2023-2971.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-2971","state":"PUBLISHED","datePublished":"2023-08-19T05:45:35.025Z","dateUpdated":"2024-10-07T19:54:42.467Z","assignerShortName":"STAR_Labs","assignerOrgId":"b1571b85-cbc9-431f-830b-0c8155323a69","dateReserved":"2023-05-30T07:46:11.004Z"},"containers":{"cna":{"title":"Typora Local File Disclosure","descriptions":[{"lang":"en","value":"Improper path handling in Typora before 1.7.0-dev on Windows and Linux allows a crafted webpage to access local files and exfiltrate them to remote web servers via \"typora://app/typemark/\". 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":[{"vendor":"Typora","product":"Typora","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.7.0-dev","versionType":"custom"}],"platforms":["Windows","Linux"]}],"references":[{"url":"https://starlabs.sg/advisories/23/23-2971/","tags":["third-party-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"STAR_Labs","orgId":"b1571b85-cbc9-431f-830b-0c8155323a69","dateUpdated":"2023-08-19T05:45:35.025Z"},"credits":[{"lang":"en","type":"finder","user":"00000000-0000-4000-9000-000000000000","value":"Li Jiantao (@CurseRed) of STAR Labs SG Pte. Ltd. (@starlabs_sg)"}],"impacts":[{"capecId":"CAPEC-139","descriptions":[{"lang":"en","value":"CAPEC-139 Relative Path Traversal"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://starlabs.sg/advisories/23/23-2971/","tags":["third-party-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T06:41:03.890Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"typora","product":"typora","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.7.0-dev","versionType":"custom"}],"cpes":["cpe:2.3:a:typora:typora:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-07T19:53:35.931892Z","id":"CVE-2023-2971","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-07T19:54:42.467Z"}}]}}}