CVE-2021-28556

Medium

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.

SeverityMedium
CVSS6.9
Exploit probability—
ProductMagento
PublishedJun 28, 2021
First seenJun 28, 2021

How to fix

Update
  • magento magento2.3.7 or later
  • magento/community-edition2.4.2-p1, 2.3.7 or later

Affected products

ProductAffected versionsFixed in
magento magentov < 2.3.7, 2.4.0 ≤ v ≤ 2.4.22.3.7
magento/community-editionPackagist2.4.0 ≤ v < 2.4.2-p1, v < 2.3.72.4.2-p1, 2.3.7
magento/project-community-editionPackagistv ≤ 2.0.2—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.