CVE-2021-21023

Magento Commerce Stored Cross Site Scripting Vulnerability Could Lead To Arbitrary Code Execution

4.8 medium EPSS 1.62%

Published 11 Feb 2021 Updated 17 Sep 2024 CNA: adobe

Description

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are vulnerable to a stored cross-site scripting vulnerability in the admin console. Successful exploitation could lead to arbitrary JavaScript execution in the victim's browser. Access to the admin console is required for successful exploitation.

Severity (CVSS)

4.8 medium CVSS 3.0 from adobe (CNA)
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
high: the attacker needs an administrative account
User interaction
required: a user has to do something, such as open a link or a file
Scope
changed: the damage reaches other components, such as the host of a container or other users
Impact
confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 1.62%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 76.7% of all scored CVEs. Scores of 1 Dec 2026.

Weakness

  • CWE-79 Improper Neutralization of Input During Web Page Generation

Affected products

As the CNA lists them.

ProductVersions
Magento Commerce
affected up to and including 2.4.1
affected up to and including 2.4.0-p1
affected up to and including 2.3.6
affected up to and including None

Is my server affected?

This CVE is in Magento Commerce of Adobe, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Other references

Source: the record CVE-2021-21023 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.