Vulnerability · Published Jun 28, 2021 · Assigned by adobe

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

Medium 6.9

In plain English

A medium-severity cross-site scripting in Magento Commerce from Adobe. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.4% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.9Medium
Exploit odds (30 days)1.4%top 27.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistmagento/community-edition2.4.2-p1GHSA-39ch-rg26-gmq5
Packagistmagento/community-edition2.3.7GHSA-39ch-rg26-gmq5
Packagistmagento/project-community-editionno fix listedGHSA-39ch-rg26-gmq5

Affected products (as reported)

VendorProductVersions
Adobe Magento Commerce unspecified – through 2.4.2unspecified – through 2.3.6-p1unspecified – through 2.4.1-p1unspecified – through None

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N

References