# CVE-2021-21027: Magento Commerce Cross-Site Request Forgery (CSRF) Could Lead To Unauthorized Data Modification

- Severity: Medium 4.3 (CVSS:3.0, scored by adobe) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.62%, higher than 76% of CVEs (2026-12-01)
- Published: 2021-02-11T19:29:31.042Z
- Modified: 2026-09-08T08:48:09.428Z
- Also known as: GHSA-h4xc-577p-hgj9, BIT-MAGENTO-2021-21027
- Weaknesses: CWE-352
- Assigned by: adobe

## Description

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are affected by a cross-site request forgery (CSRF) vulnerability via the GraphQL API. Successful exploitation could lead to unauthorized modification of customer metadata by an unauthenticated attacker. Access to the admin console is not required for successful exploitation.

(As written by CVE List.)

## Affected

- Adobe Magento Commerce: from unspecified up to 2.4.1; from unspecified up to 2.4.0-p1; from unspecified up to 2.3.6; from unspecified up to None
- magento/community-edition (Packagist): before 2.3.6-p1; from 2.4.0 before 2.4.2
- magento/project-community-edition (Packagist): up to 2.0.2
- magento magento: before 2.3.6; 2.3.6; 2.4.0; 2.4.1
- magento (Bitnami): before 2.3.6; from 2.4.0 before 2.4.1

## Every score

- adobe: CVSS:3.0 4.3 Medium `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://helpx.adobe.com/security/products/magento/apsb21-08.html> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21027> (advisory, web)
- <https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497> (web)
- <https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b> (web)
- <https://github.com/magento/magento2> (package)

## Sources

- CVE List: [CVE-2021-21027](https://www.cve.org/CVERecord?id=CVE-2021-21027), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-h4xc-577p-hgj9](https://github.com/advisories/GHSA-h4xc-577p-hgj9), CC-BY-4.0, modified 2025-02-10
- NVD: [CVE-2021-21027](https://nvd.nist.gov/vuln/detail/CVE-2021-21027), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-MAGENTO-2021-21027](https://osv.dev/vulnerability/BIT-MAGENTO-2021-21027), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-21027 · Whole record: https://cve.day/CVE-2021-21027.json · Rebuilt by cve.day 2026-11-25T22:57:59.915Z
