Security mailing lists by PureSourceCode

CVE-2021-28556

MEDIUM 4.8CVSS 3.1

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

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.

Published
28 Jun 2021
Last modified
17 Jun 2026
Assigned by
psirt@adobe.com
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-magento-2021-28556GHSA-39ch-rg26-gmq5
Sources
NVDJSONOSV GHSA-39ch-rg26-gmq5JSON

Scores

SourceScored byVersionScoreVector / decision
NVD psirt@adobe.com (Secondary) CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.9 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
< 2.3.7 2.3.7
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*
< 2.3.7 2.3.7
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*
>= 2.4.0, <= 2.4.2
NVD magento magento
cpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:*
>= 2.4.0, <= 2.4.2
OSV Packagist magento/community-edition >= 2.4.0, < 2.4.2-p1 2.4.2-p1
OSV Packagist magento/community-edition < 2.3.7 2.3.7
OSV Packagist magento/project-community-edition <= 2.0.2

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 28 Jun 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.