Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. magento/community-edition
  4. ›
  5. CVE-2021-39864

CVE-2021-39864: Magento Open Source allows Cross-Site Request Forgery (CSRF)

May 24, 2022 (updated March 4, 2025)

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 a customer’s cart by an unauthenticated attacker. Access to the admin console is not required for successful exploitation.

References

  • github.com/advisories/GHSA-94wq-87g6-8h77
  • github.com/magento/magento2
  • helpx.adobe.com/security/products/magento/apsb21-86.html
  • nvd.nist.gov/vuln/detail/CVE-2021-39864

Code Behaviors & Features

Detect and mitigate CVE-2021-39864 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.3.7-p2, all versions starting from 2.4.2-p1 up to 2.4.2-p2, version 2.4.2, version 2.4.3

Fixed versions

  • 2.3.7-p2

Solution

Upgrade to version 2.3.7-p2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/magento/community-edition/CVE-2021-39864.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:50 +0000.