CVE-2021-20727 Cross-site scripting in Zettlr

Medium 6.1 Published Updated

An attacker can execute arbitrary scripts in Zettlr by loading a file with a malicious iframe, potentially compromising the user's environment.

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
None listed

What is CVE-2021-20727?

CVE-2021-20727 is a medium-severity cross-site scripting vulnerability in Hendrik Erz Zettlr, published on 27 May 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

Cross-site scripting vulnerability in Zettlr from 0.20.0 to 1.8.8 allows an attacker to execute an arbitrary script by loading a file or code snippet containing an invalid iframe into Zettlr.

Weakness: CWE-79

Which versions are affected by CVE-2021-20727?

It affects 1 product.

Products include Zettlr Zettlr.

How do I fix CVE-2021-20727?

No fix has been published for CVE-2021-20727 yet. Limit exposure of the affected software until one is available.

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-20727 being exploited?

There is no known exploitation of CVE-2021-20727 in the wild and no public exploit code.

Sources

Also known as GHSA-vwf2-95mj-6g95.

Is CVE-2021-20727 in your software?

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

Check your SBOMs for free