CVE-2021-25962 Shuup - Formula Injection in Checkout Addresses

High 8.0 Published Updated

Attackers can execute arbitrary code via formula injection in checkout address fields when administrators export data to Excel.

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

CVE-2021-25962 is a high-severity code injection vulnerability in shuup, published on 29 Sep 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

“Shuup” application in versions 0.4.2 to 2.10.8 is affected by the “Formula Injection” vulnerability. A customer can inject payloads in the name input field in the billing address while buying a product. When a store administrator accesses the reports page to export the data as an Excel file and opens it, the payload gets executed.

Weakness: CWE-1236

Which versions are affected by CVE-2021-25962?

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

PackageAffectedFixed in
shuup PyPIFrom 0.4.22.11.0
shuup PyPIFrom 0.4.22.11.0
shuup PyPIFrom 0.4.22.11.0

Products include Shuup Shuup.

How do I fix CVE-2021-25962?

Upgrade shuup to 2.11.0 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2021-25962 being exploited?

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

Sources

Also known as GHSA-663j-rjcr-789f, PYSEC-2021-355.

Is CVE-2021-25962 in your software?

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

Check your SBOMs for free