CVE-2021-39864 Adobe Commerce Cross-Site Request Forgery (CSRF) Could Lead To Unauthorized Cart Addition

Medium 6.5 Published Updated

An unauthenticated attacker can exploit a CSRF vulnerability in Adobe Commerce to add items to a customer's cart without authorization.

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

CVE-2021-39864 is a medium-severity vulnerability in Adobe Commerce, published on 15 Oct 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

Adobe Commerce versions 2.4.2-p2 (and earlier), 2.4.3 (and earlier) and 2.3.7p1 (and earlier) are affected by a cross-site request forgery (CSRF) vulnerability via a Wishlist Share Link. Successful exploitation could lead to unauthorized addition to customer cart by an unauthenticated attacker. Access to the admin console is not required for successful exploitation.

Weakness: CWE-352

Which versions are affected by CVE-2021-39864?

8 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 2 products.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versions2.3.7-p2
magento/community-edition PackagistAll versions2.3.7-p2
magento/community-edition PackagistFrom 2.4.2-p1 to 2.4.2-p2None
magento/community-edition PackagistFrom 2.4.2-p1 to 2.4.2-p2None
2 more packages
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Adobe Commerce, Adobe Magento Open Source.

How do I fix CVE-2021-39864?

Upgrade magento/community-edition to 2.3.7-p2 or later.

Is CVE-2021-39864 being exploited?

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

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-94wq-87g6-8h77.

Is CVE-2021-39864 in your software?

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

Check your SBOMs for free