CVE-2021-21031
MEDIUM5.6EPSS 0.17%Magento Commerce Failure To Invalidate User Session Could Lead To Unauthorized Access
Published: 5/24/2022Modified: 3/20/2026
Description
Magento versions 2.4.1 (and earlier), 2.4.0 (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 packages (3)
- Bitnami/magentofrom 0, < 2.3.6, >= 2.4.0, < 2.4.1
- Packagist/magento/community-edition>= 2.4.0, < 2.4.1-p1
- Packagist/magento/project-community-editionfrom 0, <= 2.0.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L |