CVE-2022-35131 Joplin is vulnerable to arbitrary code execution
Attackers can execute arbitrary commands via crafted payloads in Node titles, requiring users to upgrade Joplin.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-35131?
CVE-2022-35131 is a critical cross-site scripting vulnerability in n/a, published on 25 Jul 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Joplin v2.8.8 allows attackers to execute arbitrary commands via a crafted payload injected into the Node titles.
Weakness: CWE-79
Which versions are affected by CVE-2022-35131?
2 open source packages ship an affected version, including joplin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
joplin npm | All versions | 2.9.1 |
joplin npm | All versions | 2.9.1 |
Products include Joplinapp Joplin.
How do I fix CVE-2022-35131?
Upgrade joplin to 2.9.1 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-35131 being exploited?
There is no known exploitation of CVE-2022-35131 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as GHSA-ww2v-frv5-pj5x.