CVE-2019-8158
Magento 2 Community Edition XML Injection
Summary
Remediation
Upgrade to the fixed version using your package manager.
composer require "magento/community-edition:^2.2.10"
composer require "magento/community-edition:^2.3.2-p2"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| magento/community-edition | packagist | 2.2.0, 2.2.1, 2.2.2, 2.2.3 (+6 more) | 2.2.10 |
| magento/community-edition | packagist | 2.3.0, 2.3.1, 2.3.2 | 2.3.2-p2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-91
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-8158ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8158.yamlWEB
- https://github.com/magento/magento2PACKAGE
- https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-updateWEB
- https://web.archive.org/web/20220121051105/https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-updateWEB
Frequently Asked Questions
- What is CVE-2019-8158?
- Magento 2 Community Edition XML Injection This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2019-8158?
- CVE-2019-8158 affects magento/community-edition. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-8158 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2021-36021CRITICAL
Magento affected by remote code execution vulnerability in the CMS page scheduled update feature
- CVE-2019-7139CRITICAL
Magento 2 Community Edition SQLi Vulnerability
- CVE-2021-36025CRITICAL
Magento is affected by an improper input validation vulnerability while saving a customer's details
- CVE-2025-24410HIGH
Magento Stored Cross-Site Scripting (XSS) Vulnerability
- CVE-2024-45117MEDIUM
Magento Open Source Improper Input Validation vulnerability
- CVE-2023-38221MEDIUM
Magento Open Source allows SQL Injection
- CVE-2023-38250MEDIUM
Magento Open Source allows SQL Injection
- CVE-2023-38219LOW
Magento Open Source allows Cross-Site Scripting (XSS)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies