CVE-2021-32091 Cross-site scripting in LocalStack

Medium 6.1 Published Updated

An XSS vulnerability in LocalStack allows attackers to execute arbitrary scripts in the context of the application.

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-32091?

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

A Cross-site scripting (XSS) vulnerability exists in StackLift LocalStack 0.12.6.

Weakness: CWE-79

Which versions are affected by CVE-2021-32091?

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

PackageAffectedFixed in
localstack PyPIAll versions to 0.12.10None
localstack PyPIAll versions to 0.12.10None
localstack PyPIAll versions0.12.6.1

Products include Localstack Localstack.

How do I fix CVE-2021-32091?

Upgrade localstack to 0.12.6.1 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-32091 being exploited?

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

Sources

Also known as GHSA-37m5-42qp-4qpr, PYSEC-2021-102.

Is CVE-2021-32091 in your software?

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

Check your SBOMs for free