CVE-2024-39408: Magento Open Source CSRF Vulnerability

magento/community-edition Updated 02 Oct 2025

Summary

14/08/2024
Yes i
Moderate
4.3

CVE-2024-39408: Magento Open Source Cross-Site Request Forgery 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 provides a flexible and scalable solution for online retailers. 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-39408 is a Cross-Site Request Forgery (CSRF) issue affecting multiple versions of Magento Open Source. This vulnerability allows attackers to trick users into executing unwanted actions on the platform without their consent. By exploiting this flaw, an attacker could bypass security measures and perform unauthorized actions on behalf of a user, potentially leading to data manipulation or other malicious activities. The exploitation requires user interaction, such as clicking a malicious link or loading a compromised page.

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 should be cautious about clicking on unknown links or loading untrusted pages while logged into their Magento accounts. Implementing additional security measures, such as using a web application firewall (WAF), can also help mitigate the risk until the software is updated.

Conclusion

The CSRF vulnerability identified as CVE-2024-39408 poses a moderate risk to Magento Open Source users. It is crucial to update to the latest versions to mitigate this risk and maintain the integrity of your e-commerce platform. Users are also encouraged to adopt best practices for security and consider using tools like Vulert for ongoing monitoring.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

CSRF is a type of security exploit where an attacker tricks a user into executing unwanted actions on a web application in which they are authenticated.

If you are using Magento Open Source versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9, or earlier, your installation is vulnerable.

Exploitation of this vulnerability could allow attackers to perform unauthorized actions on behalf of users, potentially leading to data loss or manipulation.

It is recommended to regularly check for updates and apply them promptly to ensure that your installation is secure against known vulnerabilities.

Yes, Vulert can monitor your application for open-source vulnerabilities in real-time using just the composer.lock file, providing alerts for any issues.

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