CVE-2021-28556

Magento Commerce DOM-based cross-site scripting (XSS) could lead to arbitrary javascript execution

MEDIUM
4.8
CVSS Score
Published: June 28, 2021 at 01:42 PM UTC
Updated: June 17, 2026 at 03:46 AM UTC
2 products affected across 2 vendorsMagentoMagento Commerce

Using Magento Commerce by Adobe?

Get instant alerts when new vulnerabilities affect Magento Commerce - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.8
Exploit prediction
EPSS 1%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.3.72.4.0 ≤ v ≤ 2.4.2
Affected range stops below 2.3.7, so it looks safe — our inference, not a vendor statement
v ≤ 2.3.6-p1v ≤ 2.4.1-p1v ≤ 2.4.2

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
HIGH
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card