CVE-2021-37916 Joplin vulnerable to Cross-site Scripting in notes
Attackers can execute arbitrary scripts in Joplin via malicious note content, potentially compromising user data and application integrity.
- 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-2021-37916?
CVE-2021-37916 is a medium-severity cross-site scripting vulnerability in n/a, published on 2 Aug 2021. 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
Joplin before 2.0.9 allows XSS via button and form in the note body.
Weakness: CWE-79
Which versions are affected by CVE-2021-37916?
2 open source packages ship an affected version, including joplin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
joplin npm | All versions | 2.0.9 |
joplin npm | All versions | 2.0.9 |
Products include Joplin Project Joplin.
How do I fix CVE-2021-37916?
Upgrade joplin to 2.0.9 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-37916 being exploited?
There is no known exploitation of CVE-2021-37916 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-mrmf-755g-w2vw.