Skip to content
Fencer Vulns
medium 4.8

CVE-2021-21029 json

Magento Commerce Reflected Cross-site Scripting Vulnerability Could Lead To Arbitrary JavaScript Execution

published 2021-02-11 5 y ago modified 2026-09-08 2 mo ago also BIT-magento-2021-21029 , EUVD-2022-4456 , GHSA-jwxh-wj79-ccm6

cvss
4.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
84.6%
EPSS 84.6% chance of exploitation in 30 days, percentile 99.7%
public exploits
0
none known

Summary

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) are affected by a Reflected Cross-site Scripting vulnerability via 'file' parameter. Successful exploitation could lead to arbitrary JavaScript execution in the victim's browser. Access to the admin console is required for successful exploitation.

Patch / fix

  • packagist magento/community-edition 2.3.6-p1, 2.4.2
  • bitnami magento 2.3.6, 2.4.1
  • magento magento 2.3.6

Exploit prediction

84.64% chance of exploitation in the next 30 days, higher than 99.7% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
NVD 2.0 3.5 AV:N/AC:M/Au:S/C:N/I:P/A:N
OSV 3.1 4.8 CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
packagist magento/community-edition
<2.3.6-p1
>=2.4.0, <2.4.2
2.3.6-p1
2.4.2
bitnami magento
<2.3.6
>=2.4.0, <2.4.1
2.3.6
2.4.1

Affected products

  • Adobe Magento Commerce

Classification

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

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.