CVE-2019-7865
Magento 2 Community Edition CSRF Vulnerability
Summary
Remediation
Upgrade to the fixed version using your package manager.
composer require "magento/product-community-edition:^2.1.18"
composer require "magento/product-community-edition:^2.2.9"
composer require "magento/community-edition:^2.2.9"
composer require "magento/product-community-edition:^2.3.2"
composer require "magento/community-edition:^2.3.2"
composer require "magento/community-edition:^2.1.18"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (6)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| magento/product-community-edition | packagist | All versions | 2.1.18 |
| magento/product-community-edition | packagist | All versions | 2.2.9 |
| magento/community-edition | packagist | 2.2.0, 2.2.1, 2.2.2, 2.2.3 (+5 more) | 2.2.9 |
| magento/product-community-edition | packagist | All versions | 2.3.2 |
| magento/community-edition | packagist | 2.3.0, 2.3.1 | 2.3.2 |
| magento/community-edition | packagist | 2.1.0, 2.1.1, 2.1.10, 2.1.11 (+14 more) | 2.1.18 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-352Cross-Site Request Forgery (CSRF)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-7865ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7865.yamlWEB
- https://github.com/magento/magento2PACKAGE
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-33WEB
- https://web.archive.org/web/20220121011306/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-33WEB
Frequently Asked Questions
- What is CVE-2019-7865?
- Magento 2 Community Edition CSRF Vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.8/10).
- How do I check if my project is affected by CVE-2019-7865?
- CVE-2019-7865 affects magento/product-community-edition and magento/community-edition. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-7865 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2021-36040CRITICAL
Magento has a file extension restrictions bypass
- CVE-2020-9691CRITICAL
Magento DOM-based Cross-site scripting vulnerability
- CVE-2025-54264HIGH
Magento vulnerable to stored Cross-Site Scripting (XSS)
- CVE-2024-39402HIGH
Magento OS Command ('OS Command Injection') vulnerability
- CVE-2025-24411HIGH
Magento Improper Access Control vulnerability
- CVE-2019-7876HIGH
Magento 2 Community Edition RCE Vulnerability
- CVE-2025-24417HIGH
Magento Stored Cross-Site Scripting (XSS) Vulnerability
- CVE-2025-24415HIGH
Magento Stored Cross-Site Scripting (XSS) Vulnerability
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies