CVE-2021-37916 Joplin vulnerable to Cross-site Scripting in notes

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
joplin npmAll versions2.0.9
joplin npmAll versions2.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.

Sources

Also known as GHSA-mrmf-755g-w2vw.

Is CVE-2021-37916 in your software?

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

Check your SBOMs for free