CVE-2024-39409: Magento Open Source CSRF Vulnerability

magento/community-edition Updated 02 Oct 2025

Summary

14/08/2024
Yes i
Moderate
4.3

CVE-2024-39409: 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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, certain versions of Magento Open Source have been found to be vulnerable to a Cross-Site Request Forgery (CSRF) attack, which can compromise the security of user actions within the application.

Vulnerability Detail

The CSRF vulnerability in Magento Open Source versions 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and earlier allows attackers to bypass security features and perform unauthorized actions on behalf of a user. This vulnerability arises when a user is tricked 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 limit user interactions with untrusted links and ensure that their browsers have CSRF protection features enabled. Additionally, educating users about the risks of clicking unknown links can help mitigate potential attacks.

Conclusion

The CSRF vulnerability in Magento Open Source poses a moderate risk to users, allowing unauthorized actions through user interaction. It is crucial to update to the latest version to mitigate this risk. Users are encouraged to stay informed about vulnerabilities and utilize tools like Vulert to monitor their applications.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

A CSRF vulnerability allows an attacker to trick 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's playground to monitor vulnerabilities without any signup.

Exploitation of this vulnerability could lead to unauthorized actions being performed on behalf of users, potentially compromising sensitive data or user accounts.

Yes, implementing anti-CSRF tokens in forms and ensuring proper validation of requests can help prevent CSRF attacks.

If an immediate update is not possible, implement workarounds such as educating users about the risks and limiting interactions with untrusted links.

Related vulnerabilities

Recent vulnerabilities recorded for magento/community-edition.

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