Magento SQL Injection vulnerability
Magento versions 2.4.0 and 2.3.5 (and earlier) are affected by an SQL Injection vulnerability that could lead to sensitive information disclosure. This vulnerability could be exploited by an authenticated user with permissions to the product listing page to read data from the database.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | magento/community-edition | < 2.3.6, >= 2.4.0, < 2.4.1 | 2.3.6, 2.4.1 |
| Magento (core) | magento/community-edition | < 2.3.6, >= 2.4.0, < 2.4.1 | 2.3.6, 2.4.1 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N- Weakness (CWE)
CWE-89- Platform
- Composer, Magento
- Package
magento/community-edition- Disclosed
- 24.05.2022
- Updated
- 11.10.2026 11:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-pf6w-3pfw-fxvw - CC BY 4.0
Vulnerability history: magento/community-edition
All published vulnerabilities of this package (Magento (core)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 360
- First → latest
- 11.2019 10.2025
- Without a fix
- 3
- Exploited in attacks
- 3
Severity breakdown
- Critical 47
- High 104
- Medium 192
- Low 17
Disclosures per year
- 2019: 7
- 2020: 0
- 2021: 0
- 2022: 214
- 2023: 32
- 2024: 62
- 2025: 45
- 2026: 0
-
Magento SQL Injection vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.