CVE-2021-21030Magento
High 8.1 No auth needed
Follow: this CVE · Magento · Magento We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.0
- 8.1
- EPSS
- 5.7% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Feb 11, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
What happens
Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a stored cross-site scripting (XSS) in the customer address upload feature. Successful exploitation could lead to arbitrary JavaScript execution in the victim's browser. Exploitation of this issue requires user interaction.
What to do
- Apply the vendor's security update for Magento.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | magento/community-edition |
< 2.3.6 |
2.3.6 |
composer require "magento/community-edition:^2.3.6" |
| Packagist | magento/community-edition |
≥ 2.4.0 < 2.4.1-p1 |
2.4.1-p1 |
composer require "magento/community-edition:^2.4.1-p1" |
| Packagist | magento/project-community-edition |
≤ 2.0.2 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-6988-g89m-27vf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| magento | magento | < 2.3.6 |
| magento | magento | < 2.3.6 |
| magento | magento | 2.3.6 |
| magento | magento | 2.3.6 |
| magento | magento | 2.4.0 |
| magento | magento | 2.4.0 |
| magento | magento | 2.4.0 |
| magento | magento | 2.4.0 |
| magento | magento | 2.4.1 |
| magento | magento | 2.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- helpx.adobe.com Vendor Advisory