GHSA-h4xc-577p-hgj9
Magento cross-site request forgery (CSRF) vulnerability via the GraphQL API
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | magento/community-edition | < 2.3.6-p1 | 2.3.6-p1 |
| Packagist | magento/community-edition | >= 2.4.0, < 2.4.2 | 2.4.2 |
| Packagist | magento/project-community-edition | <= 2.0.2 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-21027
- https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497
- https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b
- https://github.com/magento/magento2
- https://helpx.adobe.com/security/products/magento/apsb21-08.html