Vulnerability · Published Jun 28, 2021 · Assigned by adobe
CVE-2021-28556Magento Commerce DOM-based cross-site scripting (XSS) could lead to arbitrary javascript execution
Medium 6.9
In plain English
A medium-severity cross-site scripting in Magento Commerce from Adobe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Magento versions 2.4.2 (and earlier), 2.4.1-p1 (and earlier) and 2.3.6-p1 (and earlier) are affected by a DOM-based Cross-Site Scripting vulnerability on mage-messages cookies. Successful exploitation could lead to arbitrary JavaScript execution by an unauthenticated attacker. User interaction is required for successful exploitation.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | magento/community-edition | 2.4.2-p1 | GHSA-39ch-rg26-gmq5 |
| Packagist | magento/community-edition | 2.3.7 | GHSA-39ch-rg26-gmq5 |
| Packagist | magento/project-community-edition | no fix listed | GHSA-39ch-rg26-gmq5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Adobe | Magento Commerce | unspecified – through 2.4.2unspecified – through 2.3.6-p1unspecified – through 2.4.1-p1unspecified – through None |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
References
- https://helpx.adobe.com/security/products/magento/apsb21-30.html x_refsource_MISC