Skip to content
Emerging threatsMedium

CVE-2021-21029Magento XSS

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

Published Feb 12, 2021 · Updated Oct 24, 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.

Scores

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

Exploit maturity

None known

ATLAS score

30/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

None known

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

0

Reports of active use

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

    Oct 24, 2026

Weakness Type

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

References

13 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-21029 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Dec 4, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.