CVE-2023-2971 Typora Local File Disclosure

Medium 6.3 Published Updated

A crafted webpage or malicious markdown file allows attackers to access local files and exfiltrate them to remote servers via improper path handling in Typora.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2023-2971?

CVE-2023-2971 is a medium-severity path traversal vulnerability in Typora, published on 19 Aug 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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

Weakness: CWE-22

Which versions are affected by CVE-2023-2971?

It affects 1 product.

Products include Typora Typora.

How do I fix CVE-2023-2971?

No fix has been published for CVE-2023-2971 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-2971 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2971 exists.

Sources

Also known as GHSA-33hj-h3v9-w687.

Is CVE-2023-2971 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free