CVE-2021-28556

MEDIUMCVSS 4.8/10EPSS 1.40%

Last modified

CVE-2021-28556 is a medium-severity vulnerability rated 4.8/10 on the CVSS scale. 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. EPSS estimates a 1.40% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
4.8/10

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
1.40%

69.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MagentoMagento< 2.3.7
MagentoMagento>= 2.4.0, <= 2.4.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-28556?
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.
How severe is CVE-2021-28556?
CVE-2021-28556 has a CVSS score of 4.8/10 (MEDIUM severity). The EPSS model estimates a 1.40% probability of exploitation in the next 30 days.
How do I fix CVE-2021-28556?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-28556?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST