Skip to content
Vulnerability Intelligence

CVE-2021-21029

Medium

Magento Reflected Cross-site Scripting vulnerability via 'file' parameter

Published Feb 12, 2021 · Updated Sep 8, 2026 · Also known as BIT-magento-2021-21029, GHSA-jwxh-wj79-ccm6

Key Facts

Patch immediately
  • CVE-2021-21029 is a medium-severity vulnerability (CVSS 4.8 v3.1) affecting Magento, magento/community-edition (composer), Magento Commerce.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 85% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Magento 2.3.6, Magento 2.4.1, magento/community-edition 2.3.6-p1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

4.8

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

EPSS (30-day exploit likelihood)

85%

Higher than 99.7% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2021-21029 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

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.

Affected Products

13 affected entries in total
ProductAffected versionsFixed in
MagentoMagento2.3.6, 2.4.0, 2.4.0-p1, 2.4.12.3.6
magento/community-editioncomposer>= 2.4.02.4.2
Magento Commerce>= unspecifiedn/a

Patched Releases

Magento

2.3.6, 2.4.1

magento/community-edition

2.3.6-p1, 2.4.2

Timeline

  1. Publicly disclosed

    Feb 12, 2021

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

References

13 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-21029 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo