CVE-2021-33295 Joplin Cross Site Scripting Vulnerability via NOSCRIPT tags

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
joplin npmAll versions1.8.5
joplin npmAll versions1.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.

Sources

Also known as GHSA-phj8-2p6x-hq5r.

Is CVE-2021-33295 in your software?

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

Check your SBOMs for free