CVE-2022-43668 Cross-site scripting in Typora
An attacker can execute arbitrary JavaScript code by tricking a user into opening a malicious file in Typora.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-43668?
CVE-2022-43668 is a medium-severity cross-site scripting vulnerability in Typora, published on 7 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Typora versions prior to 1.4.4 fails to properly neutralize JavaScript code, which may result in executing JavaScript code contained in the file when opening a file with the affected product.
Weakness: CWE-79
Which versions are affected by CVE-2022-43668?
It affects 1 product.
Products include Typora Typora.
How do I fix CVE-2022-43668?
No fix has been published for CVE-2022-43668 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-43668 being exploited?
There is no known exploitation of CVE-2022-43668 in the wild and no public exploit code.
Other vulnerabilities in Typora
Sources
Also known as GHSA-7j6m-43f8-jqqm.