Advisory

GHSA-39ch-rg26-gmq5

Also known as: BIT-magento-2021-28556, CVE-2021-28556

Summary

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

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 19:06 UTC
Modified
2025-02-10 21:28 UTC

Affected packages and fixes

magento/community-edition

Packagist · All systems

Affected

  • introduced 2.4.0, fixed 2.4.2-p1 (ecosystem)

Fixed versions

2.4.2-p1

Fix

The export has no generic command for this ecosystem.

magento/community-edition

Packagist · All systems

Affected

  • introduced 0, fixed 2.3.7 (ecosystem)

Fixed versions

2.3.7

Fix

The export has no generic command for this ecosystem.

magento/project-community-edition

Packagist · All systems

Affected

  • introduced 0, last affected 2.0.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences