CVE-2023-38208 — Vulnerability in magento/community-edition
Magento Open Source allows Improper Neutralization of Special Elements Used
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (4.10%). Schedule for your next planned update.
Does your project use an affected magento/community-edition version?
Paste your composer.lock to check it for CVE-2023-38208 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Adobe Commerce versions 2.4.6-p1 (and earlier), 2.4.5-p3 (and earlier) and 2.4.4-p4 (and earlier) are affected by an Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') vulnerability that could lead to arbitrary code execution by an admin-privilege authenticated attacker. Exploitation of this issue does not require user interaction.
Advisory Timeline
- First published August 9, 2023 (1205 days ago).
- Last revised March 4, 2025 — 573 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "magento/community-edition:^2.4.4-p5"
composer require "magento/community-edition:^2.4.6-p2"
composer require "magento/community-edition:^2.4.5-p4"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (7)
Affects 1 ecosystem: Packagist (2).
| Package | Fixed In |
|---|---|
| magento/community-edition Packagist · Affected: 2.4.5 | No fix available |
| magento/community-edition Packagist · Affected: 2.4.4-p1, 2.4.4-p2, 2.4.4-p3, 2.4.4-p4 | 2.4.4-p5 |
| magento/community-edition Packagist · Affected: 2.4.6 | No fix available |
| magento/community-edition Packagist · Affected: 2.4.6-p1 | 2.4.6-p2 |
| magento/project-community-edition Packagist · Affected: 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+49 more) | Range-based data available |
| magento/community-edition Packagist · Affected: 2.4.4 | No fix available |
| magento/community-edition Packagist · Affected: 2.4.5-p1, 2.4.5-p2, 2.4.5-p3 | 2.4.5-p4 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-78OS Command InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2023-38208?
- Magento Open Source allows Improper Neutralization of Special Elements Used. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.1/10).
- How do I check if my project is affected by CVE-2023-38208?
- CVE-2023-38208 affects magento/community-edition and magento/project-community-edition. It has a 4.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-38208 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top 10% of EPSS-scored vulnerabilities — 91.5% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
Also Known As
Related CVEs
- CVE-2020-9691CRITICAL
Magento DOM-based Cross-site scripting vulnerability
- CVE-2020-9631CRITICAL
Magento security mitigation bypass vulnerability
- CVE-2022-35698HIGH
Magento Open Source allows Stored Cross-Site Scripting (Stored XSS)
- CVE-2024-20720HIGH
Magento Open Source allows OS Command Injection
- CVE-2024-39400HIGH
Magento DOM-based Cross-Site Scripting (XSS) vulnerability
- CVE-2025-24415HIGH
Magento Stored Cross-Site Scripting (XSS) Vulnerability
- CVE-2023-29297HIGH
Magento Open Source allows Improper Neutralization of Special Elements Used
- CVE-2023-38221MEDIUM
Magento Open Source allows SQL Injection