CVE-2021-28556

MEDIUM

Magento < 2.3.7, 2.4.0-2.4.2-p1 - Unauthenticated DOM-based Cross-Site Scripting via mage-messages Cookie

Title source: llm
STIX 2.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.

References (1)

Core 1
Core References

Scores

CVSS v3 6.9
EPSS 0.2386
EPSS Percentile 96.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N

Details

CWE
CWE-79
Status published
Products (3)
magento/community-edition 2.4.0 - 2.4.2-p1Packagist
magento/magento < 2.3.7 (2 CPE variants)
magento/project-community-edition 0Packagist
Published Jun 28, 2021
Tracked Since Feb 18, 2026