CVE-2020-19000 Cross Site Scripting (XSS) in Simiki

Medium 6.1 Published Updated

Remote attackers can execute arbitrary code via Cross-Site Scripting in the Simiki static site generator library.

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-2020-19000?

CVE-2020-19000 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 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

Cross Site Scripting (XSS) in Simiki v1.6.2.1 and prior allows remote attackers to execute arbitrary code via line 54 of the component 'simiki/blob/master/simiki/generators.py'.

Weakness: CWE-79

Which versions are affected by CVE-2020-19000?

3 open source packages ship an affected version, including simiki. It affects 1 product.

PackageAffectedFixed in
simiki PyPIAll versionsNone
simiki PyPIAll versions1.6.2.2
simiki PyPIAll versions1.6.2.2

Products include Simiki Project Simiki.

How do I fix CVE-2020-19000?

Upgrade simiki to 1.6.2.2 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-2020-19000 being exploited?

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

Sources

Also known as GHSA-fqr5-qphf-vfr8, PYSEC-2021-347.

Is CVE-2020-19000 in your software?

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

Check your SBOMs for free