CVE-2022-45598 Joplin Desktop App vulnerable to Cross-site Scripting

Medium 6.1 Published Updated

An attacker can execute arbitrary code in Joplin Desktop App via a Cross-Site Scripting vulnerability caused by improper sanitization.

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
Available

What is CVE-2022-45598?

CVE-2022-45598 is a medium-severity cross-site scripting vulnerability in n/a, published on 31 Jan 2023. 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

Cross Site Scripting vulnerability in Joplin Desktop App before v2.9.17 allows attacker to execute arbitrary code via improper santization.

Weakness: CWE-79

Which versions are affected by CVE-2022-45598?

2 open source packages ship an affected version, including joplin. It affects 1 product.

PackageAffectedFixed in
joplin npmAll versions2.9.17
joplin npmAll versions2.9.17

Products include Joplin Project Joplin.

How do I fix CVE-2022-45598?

Upgrade joplin to 2.9.17 or later.

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-45598 being exploited?

There is no known exploitation of CVE-2022-45598 in the wild and no public exploit code.

Sources

Also known as GHSA-h6c2-879r-jffh.

Is CVE-2022-45598 in your software?

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

Check your SBOMs for free