CVE-2021-28566 json
Magento Commerce information disclosure during upload action leveraging a specially crafted file
published 2021-09-08 5 y ago modified 2026-09-08 2 mo ago also BIT-magento-2021-28566 , EUVD-2022-5538 , GHSA-w942-fw92-mqm2
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
Magento versions 2.4.2 (and earlier), 2.4.1-p1 (and earlier) and 2.3.6-p1 (and earlier) are vulnerable to an Information Disclosure vulnerability when uploading a modified png file to a product image. Successful exploitation could lead to the disclosure of document root path by an unauthenticated attacker. Access to the admin console is required for successful exploitation.
Patch / fix
- packagist magento/community-edition 2.3.7, 2.4.2-p1
- bitnami magento 2.4.3
Exploit prediction
1.43% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| OSV | 3.1 | 2.7 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | magento/community-edition | >=2.4.0, <2.4.2-p1 >=2.3.0, <2.3.7 |
2.4.2-p1 2.3.7 |
| bitnami | magento | <2.4.3 |
2.4.3 |
Affected products
- Adobe Magento Commerce
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
github.com
/magento/magento2/commit/1bd5cb8c065e44779526c0b044ce19b884707695
web
-
helpx.adobe.com
/security/products/magento/apsb21-30.html
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-28566
advisory, web
-
github.com
/magento/magento2
package
Sources
- CVE List CVE-2021-28566
- GitHub Advisory GHSA-w942-fw92-mqm2
- NVD CVE-2021-28566
- OSV BIT-magento-2021-28566
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.