medium4.8
CVE-2021-21029
Magento Reflected Cross-site Scripting vulnerability via 'file' parameter
Impact
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are affected by a Reflected Cross-site Scripting vulnerability via 'file' parameter. Successful exploitation could lead to arbitrary JavaScript execution in the victim's browser. Access to the admin console is required for successful exploitation.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| composer | magento/community-edition | < 2.3.6-p1 | 2.3.6-p1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Magento | Magento | before 2.3.6 Versions 2.3.6, 2.4.0, 2.4.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://helpx.adobe.com/security/products/magento/apsb21-08.html
- https://github.com/advisories/GHSA-jwxh-wj79-ccm6
- https://nvd.nist.gov/vuln/detail/CVE-2021-21029
- https://github.com/magento/magento2/commit/a2eb7e29ea92a8bbc86c3b6b81b59d8533088497
- https://github.com/magento/magento2/commit/a349e022c9ae070e7da262021f9ef182105aa00b