CVE-2021-21031: Magento

Medium severity, CVSS 5.6. EPSS: 1.7% chance of exploitation in the next 30 days.

Magento versions 2.4.1 (and earlier), 2.4.0-p1 (and earlier) and 2.3.6 (and earlier) do not adequately invalidate user sessions. Successful exploitation could lead to unauthorized access to restricted resources. Access to the admin console is not required for successful exploitation.

Affected products

  • Magento Magento: before 2.3.6 (fixed in 2.3.6); version 2.3.6 only; version 2.4.0 only; version 2.4.1 only

Published 2021-02-11. Last modified 2026-06-17.