CVE-2021-21023: Magento Commerce Stored Cross Site Scripting Vulnerability Could Lead To Arbitrary Code Execution

Published Feb 11, 2021
·
Updated

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.

Affected Software

13 affected componentsFixes available
composer/magento/project-community-edition<=2.0.2
composer/magento/community-edition>=2.4.0<2.4.1-p1
2.4.1-p1
composer/magento/community-edition<2.3.6
2.3.6
Magento Magento<2.3.6
Magento Magento<2.3.6
Magento Magento=2.3.6
Magento Magento=2.3.6
Magento Magento=2.4.0
Magento Magento=2.4.0
Magento Magento=2.4.0-p1
Magento Magento=2.4.0-p1
Magento Magento=2.4.1
Magento Magento=2.4.1

Event History

Feb 11, 2021
CVE Published
via MITRE·07:29 PM
Data Sourced
via MITRE·07:29 PM
DescriptionSeverityWeakness
May 24, 2022
Advisory Published
via GitHub·05:41 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this Magento vulnerability?

The vulnerability ID for this Magento vulnerability is CVE-2021-21023.

2

What is the severity of CVE-2021-21023?

CVE-2021-21023 has a severity value of 4.8, which is considered medium.

3

How can this vulnerability be exploited?

This vulnerability can be exploited by executing arbitrary JavaScript in the victim's browser through a stored cross-site scripting attack on the Magento admin console.

4

Which versions of Magento are affected by CVE-2021-21023?

Versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier), and 2.3.6 (and earlier) of Magento are affected by CVE-2021-21023.

5

Is access to the admin console required for exploitation?

Yes, access to the admin console is required for exploitation of CVE-2021-21023.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203