CVE-2024-39410: Magento Open Source CSRF Vulnerability

magento/community-edition Updated 02 Oct 2025

Summary

14/08/2024
Yes i
Moderate
4.3

CVE-2024-39410: Magento Open Source Cross-Site Request Forgery (CSRF) vulnerability. Affects magento/community-edition across 4 version ranges.

< 2.4.4-p10 >= 2.4.5-p1, < 2.4.5-p9 >= 2.4.6-p1, < 2.4.6-p7 >= 2.4.7-p1, < 2.4.7-p2

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Magento Open Source is a widely used e-commerce platform that enables businesses to create and manage online stores. It offers a range of features including product management, customer management, and order processing. However, like many web applications, it is susceptible to security vulnerabilities, including Cross-Site Request Forgery (CSRF), which can compromise user actions and data integrity.

Vulnerability Detail

The vulnerability identified as CVE-2024-39410 affects Magento Open Source versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier. It is a Cross-Site Request Forgery (CSRF) vulnerability that allows attackers to bypass security features and perform unauthorized actions on behalf of a user. This vulnerability can be exploited by tricking a victim into clicking a malicious link or loading a page that submits a harmful request. Exploitation requires user interaction, making it a moderate risk with a CVSS score of 4.3.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.4-p10 2.4.4-p10
    composer require magento/community-edition:2.4.4-p10
  • >= 2.4.5-p1, < 2.4.5-p9 2.4.5-p9
    composer require magento/community-edition:2.4.5-p9
  • >= 2.4.6-p1, < 2.4.6-p7 2.4.6-p7
    composer require magento/community-edition:2.4.6-p7
  • >= 2.4.7-p1, < 2.4.7-p2 2.4.7-p2
    composer require magento/community-edition:2.4.7-p2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, users can implement additional CSRF protection measures in their application code, such as validating CSRF tokens for sensitive actions. However, this is not a substitute for upgrading to a secure version.

Conclusion

The CSRF vulnerability in Magento Open Source poses a moderate risk to users, allowing unauthorized actions if exploited. It is crucial for users to upgrade to the latest versions to ensure their applications are secure. Regular monitoring for vulnerabilities, such as through Vulert, can help maintain security.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

Cross-Site Request Forgery (CSRF) is a type of attack that tricks a user into executing unwanted actions on a web application in which they are authenticated.

You can check your Magento version against the affected versions listed in the vulnerability details. Additionally, you can use Vulert to monitor your application for vulnerabilities.

If exploited, this vulnerability could allow attackers to perform unauthorized actions on behalf of users, potentially compromising sensitive data and user accounts.

While upgrading is the best solution, implementing additional CSRF protections in your application can help mitigate the risk temporarily.

Detailed information can be found on the official Magento security advisory page and through security databases that track vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for magento/community-edition.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.4-p10 2.4.4-p10
    composer require magento/community-edition:2.4.4-p10
  • >= 2.4.5-p1, < 2.4.5-p9 2.4.5-p9
    composer require magento/community-edition:2.4.5-p9
  • >= 2.4.6-p1, < 2.4.6-p7 2.4.6-p7
    composer require magento/community-edition:2.4.6-p7
  • >= 2.4.7-p1, < 2.4.7-p2 2.4.7-p2
    composer require magento/community-edition:2.4.7-p2

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback