Moderate severityNVD Advisory· Published Jun 28, 2021· Updated Sep 17, 2024
Magento Commerce DOM-based cross-site scripting (XSS) could lead to arbitrary javascript execution
CVE-2021-28556
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
magento/community-editionPackagist | >= 2.4.0, < 2.4.2-p1 | 2.4.2-p1 |
magento/community-editionPackagist | < 2.3.7 | 2.3.7 |
magento/project-community-editionPackagist | <= 2.0.2 | — |
Affected products
4- osv-coords3 versionspkg:bitnami/magentopkg:composer/magento/community-editionpkg:composer/magento/project-community-edition
< 2.3.7+ 2 more
- (no CPE)range: < 2.3.7
- (no CPE)range: >= 2.4.0, < 2.4.2-p1
- (no CPE)range: <= 2.0.2
- Range: unspecified
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-39ch-rg26-gmq5ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-28556ghsaADVISORY
- github.com/magento/magento2/commit/1bd5cb8c065e44779526c0b044ce19b884707695ghsaWEB
- helpx.adobe.com/security/products/magento/apsb21-30.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.