NetSight
medium6.9

CVE-2021-28556

Magento DOM-based Cross-Site Scripting vulnerability on mage-messages cookies

Impact

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

EcosystemPackageAffectedFixed in
composermagento/community-edition>= 2.4.0, < 2.4.2-p12.4.2-p1
composermagento/project-community-edition<= 2.0.2none recorded

Affected products

VendorProductAffected versions
MagentoMagento
before 2.3.7
from 2.4.0 through 2.4.2

Weakness classification

References