Live threats

All CVEs / Magento

CVE-2021-36021Magento

High 7.2

Priority
43
CVSS 3.1
7.2
EPSS
—
Auth required
Yes
Published
Sep 6, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

What happens

Magento versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an Improper input validation vulnerability within the CMS page scheduled update feature. An authenticated attacker with administrative privilege could leverage this vulnerability to achieve remote code execution on the system.

Original NVD text.

What to do

  1. Apply the vendor's security update for Magento.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist magento/community-edition < 2.3.7-p1 2.3.7-p1 composer require "magento/community-edition:^2.3.7-p1"
Packagist magento/community-edition 2.3.7 no fixed version —
Packagist magento/community-edition ≥ 2.4.2-p1 < 2.4.2-p2 2.4.2-p2 composer require "magento/community-edition:^2.4.2-p2"
Packagist magento/community-edition 2.4.2 no fixed version —
Packagist magento/project-community-edition ≤ 2.0.2 no fixed version —

Per OSV / GitHub Advisories (GHSA-4g27-q2w9-m8m8). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
magentomagento< 2.3.7
magentomagento< 2.3.7
magentomagento≥ 2.4.0 < 2.4.2
magentomagento≥ 2.4.0 < 2.4.2
magentomagento2.3.7
magentomagento2.3.7
magentomagento2.4.2
magentomagento2.4.2
magentomagento2.4.2
magentomagento2.4.2

Official sources

References

Links published by the sources. Open them with care.