High

Magento 2 Community Edition CSRF Vulnerability

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:17

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package magento/community-edition >= 2.1.0, < 2.1.18, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.2 2.1.18, 2.2.9, 2.3.2
Composer package magento/product-community-edition >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 2.1.18, 2.2.9, 2.3.2
Magento (core) magento/community-edition >= 2.1.0, < 2.1.18, >= 2.2.0, < 2.2.9, >= 2.3.0, < 2.3.2, >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 2.1.18, 2.2.9, 2.3.2

References

CVSS score 8.8/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-352
Platform
Composer, Magento
Package
magento/community-edition, magento/product-community-edition
Disclosed
24.05.2022
Updated
11.10.2026 11:17

Sources and licenses

OSV / GitHub Advisory Database - GHSA-wmrg-w9vg-7jqx - CC BY 4.0

Vulnerability history: magento/product-community-edition

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
11.2019 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3
  • Medium 1

Disclosures per year

  1. 2019: 1
  2. 2020: 0
  3. 2021: 0
  4. 2022: 3
  5. 2023: 0
  6. 2024: 0
  7. 2025: 0
  8. 2026: 0
  1. Medium · 4.8 CVE-2019-7938 >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 2.1.18, 2.2.9, 2.3.2
  2. High · 8.8 CVE-2019-7876 >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 2.1.18, 2.2.9, 2.3.2
  3. Magento 2 Community Edition CSRF Vulnerability this entry
    High · 8.8 CVE-2019-7865 >= 2.1, < 2.1.18, >= 2.2, < 2.2.9, >= 2.3, < 2.3.2 2.1.18, 2.2.9, 2.3.2
  4. High CVE-2019-8121 >= 2.2, < 2.2.10, >= 2.3, < 2.3.2-p2 2.2.10, 2.3.2-p2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.