Skip to main content

CVE-2019-7865 — Vulnerability in magento/community-edition

HIGH

Magento 2 Community Edition CSRF Vulnerability

Published May 24, 2022Updated February 16, 2024Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.50%). 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-2019-7865 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.

Check my composer.lock

Summary

A cross-site request forgery (CSRF) vulnerability exists in the checkout cart item of Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. This could be exploited at the time of editing or configuration.

Advisory Timeline

  • First published May 24, 2022 (1647 days ago).
  • Last revised February 16, 2024 — 633 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update magento/community-edition to 2.3.2 or later
composer require "magento/community-edition:^2.3.2"
Composer
Update magento/community-edition to 2.2.9 or later
composer require "magento/community-edition:^2.2.9"
Composer
Update magento/community-edition to 2.1.18 or later
composer require "magento/community-edition:^2.1.18"
Composer
Update magento/product-community-edition to 2.2.9 or later
composer require "magento/product-community-edition:^2.2.9"
Composer
Update magento/product-community-edition to 2.3.2 or later
composer require "magento/product-community-edition:^2.3.2"
Composer
Update magento/product-community-edition to 2.1.18 or later
composer require "magento/product-community-edition:^2.1.18"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (6)

Affects 1 ecosystem: Packagist (2).

PackageFixed In
magento/community-edition Packagist · Affected: 2.3.0, 2.3.12.3.2
magento/community-edition Packagist · Affected: 2.2.0, 2.2.1, 2.2.2, 2.2.3 (+5 more)2.2.9
magento/community-edition Packagist · Affected: 2.1.0, 2.1.1, 2.1.10, 2.1.11 (+14 more)2.1.18
magento/product-community-edition Packagist · Affected: All versions2.2.9
magento/product-community-edition Packagist · Affected: All versions2.3.2
magento/product-community-edition Packagist · Affected: All versions2.1.18

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-352
    Cross-Site Request Forgery (CSRF)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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/community-edition and magento/product-community-edition. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-7865 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.50%
EPSS percentile: 35.5

This is a below-median EPSS score — only 35.5% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-wmrg-w9vg-7jqx

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock