{"id":"CVE-2023-38221","summary":"Adobe Commerce | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CWE-89)","details":"Adobe Commerce versions 2.4.7-beta1 (and earlier), 2.4.6-p2 (and earlier), 2.4.5-p4 (and earlier) and 2.4.4-p5 (and earlier) are affected by an Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability that could lead in arbitrary code execution by an admin-privilege authenticated attacker. Exploitation of this issue does not require user interaction and attack complexity is high as it requires knowledge of tooling beyond just using the UI.","aliases":["GHSA-ggr8-3hwx-4f2m"],"modified":"2026-08-12T03:51:10.160609118Z","published":"2023-10-13T06:15:06.405Z","database_specific":{"cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38221.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"2.4.7-beta1"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"adobe"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38221.json"},{"type":"ADVISORY","url":"https://helpx.adobe.com/security/products/magento/apsb23-50.html"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38221"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/magento/magento2","events":[{"introduced":"44a7b6079bcac5ba92040b16f4f74024b4f34d09"},{"last_affected":"d10435b11ada4e502dca7539f8fd31d059d3c482"}],"database_specific":{"source":"CPE_STRING","cpe":["cpe:2.3:a:adobe:commerce:2.3.7:-:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p1:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p2:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p3:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p4:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.0:-:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.0:ext-1:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.1:-:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.1:ext-1:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.2:-:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.2:ext-1:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.2:ext-2:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:-:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:ext-1:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:ext-2:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:ext-3:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:-:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.4:-:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:p1:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.4:p1:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:p2:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.4:p2:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:p3:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.4:p3:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:p4:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:p5:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.5:-:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.5:-:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.5:p1:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.5:p1:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.5:p2:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.5:p2:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.5:p3:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.5:p3:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.5:p4:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.5:p4:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.5:p5:*:*:*:*:*:*","cpe:2.3:a:adobe:commerce:2.4.6:-:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.6:-:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.6:p1:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.6:p1:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.6:p2:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.6:p2:*:*:open_source:*:*:*","cpe:2.3:a:adobe:commerce:2.4.7:b1:*:*:*:*:*:*","cpe:2.3:a:adobe:magento:2.4.7:b1:*:*:open_source:*:*:*"],"extracted_events":[{"introduced":"2.3.7-NA"},{"last_affected":"2.3.7-NA"},{"introduced":"2.3.7-p1"},{"last_affected":"2.3.7-p1"},{"introduced":"2.3.7-p2"},{"last_affected":"2.3.7-p2"},{"introduced":"2.3.7-p3"},{"last_affected":"2.3.7-p3"},{"introduced":"2.3.7-p4"},{"last_affected":"2.3.7-p4"},{"introduced":"2.4.0-NA"},{"last_affected":"2.4.0-NA"},{"introduced":"2.4.0-ext\\-1"},{"last_affected":"2.4.0-ext\\-1"},{"introduced":"2.4.1-NA"},{"last_affected":"2.4.1-NA"},{"introduced":"2.4.1-ext\\-1"},{"last_affected":"2.4.1-ext\\-1"},{"introduced":"2.4.2-NA"},{"last_affected":"2.4.2-NA"},{"introduced":"2.4.2-ext\\-1"},{"last_affected":"2.4.2-ext\\-1"},{"introduced":"2.4.2-ext\\-2"},{"last_affected":"2.4.2-ext\\-2"},{"introduced":"2.4.3-NA"},{"last_affected":"2.4.3-NA"},{"introduced":"2.4.3-ext\\-1"},{"last_affected":"2.4.3-ext\\-1"},{"introduced":"2.4.3-ext\\-2"},{"last_affected":"2.4.3-ext\\-2"},{"introduced":"2.4.3-ext\\-3"},{"last_affected":"2.4.3-ext\\-3"},{"introduced":"2.4.4-NA"},{"last_affected":"2.4.4-NA"},{"introduced":"2.4.4-p1"},{"last_affected":"2.4.4-p1"},{"introduced":"2.4.4-p2"},{"last_affected":"2.4.4-p2"},{"introduced":"2.4.4-p3"},{"last_affected":"2.4.4-p3"},{"introduced":"2.4.4-p4"},{"last_affected":"2.4.4-p4"},{"introduced":"2.4.4-p5"},{"last_affected":"2.4.4-p5"},{"introduced":"2.4.5-NA"},{"last_affected":"2.4.5-NA"},{"introduced":"2.4.5-p1"},{"last_affected":"2.4.5-p1"},{"introduced":"2.4.5-p2"},{"last_affected":"2.4.5-p2"},{"introduced":"2.4.5-p3"},{"last_affected":"2.4.5-p3"},{"introduced":"2.4.5-p4"},{"last_affected":"2.4.5-p4"},{"introduced":"2.4.5-p5"},{"last_affected":"2.4.5-p5"},{"introduced":"2.4.6-NA"},{"last_affected":"2.4.6-NA"},{"introduced":"2.4.6-p1"},{"last_affected":"2.4.6-p1"},{"introduced":"2.4.6-p2"},{"last_affected":"2.4.6-p2"},{"introduced":"2.4.7-b1"},{"last_affected":"2.4.7-b1"}]}}],"versions":["2.3.7-NA","2.3.7-p1","2.3.7-p2","2.3.7-p3","2.3.7-p4","2.4.0-NA","2.4.0-ext\\-1","2.4.1-NA","2.4.1-ext\\-1","2.4.2-NA","2.4.2-ext\\-1","2.4.2-ext\\-2","2.4.3-NA","2.4.3-ext\\-1","2.4.3-ext\\-2","2.4.3-ext\\-3","2.4.4-NA","2.4.4-p1","2.4.4-p2","2.4.4-p3","2.4.4-p4","2.4.4-p5","2.4.5-NA","2.4.5-p1","2.4.5-p2","2.4.5-p3","2.4.5-p4","2.4.5-p5","2.4.6-NA","2.4.6-p1","2.4.6-p2","2.4.7-b1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38221.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"}]}