CVE-2021-33295 Joplin Cross Site Scripting Vulnerability via NOSCRIPT tags
Attackers can execute arbitrary code via XSS in Joplin Desktop App due to improper HTML sanitization.
- 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-2021-33295?
CVE-2021-33295 is a medium-severity cross-site scripting vulnerability in n/a, published on 16 Jun 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
Cross Site Scripting (XSS) vulnerability in Joplin Desktop App before 1.8.5 allows attackers to execute aribrary code due to improper sanitizing of html.
Weakness: CWE-79
Which versions are affected by CVE-2021-33295?
2 open source packages ship an affected version, including joplin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
joplin npm | All versions | 1.8.5 |
joplin npm | All versions | 1.8.5 |
Products include Joplin Project Joplin.
How do I fix CVE-2021-33295?
Upgrade joplin to 1.8.5 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-2021-33295 being exploited?
There is no known exploitation of CVE-2021-33295 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-23340 Joplin Vulnerable to Code Injection
- CVE-2024-40643 Joplin has a parsing error leading to Cross-site Scripting (XSS)
- CVE-2023-45673 Arbitrary code execution on click of PDF links in Joplin
- CVE-2025-27134 Privilege escalation in Joplin server via user patch endpoint
- CVE-2023-37898 Safe mode Cross-site Scripting (XSS) vulnerability in Joplin
Sources
Also known as GHSA-phj8-2p6x-hq5r.